Skip to content

Commit

Permalink
style: change code style according to StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Yogarine committed Oct 28, 2024
1 parent a4c9aad commit 6b0be8b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Listeners/CascadeDeleteListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class CascadeDeleteListener
* @return void
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter("event"))
*
* @noinspection PhpUnusedParameterInspection
*/
public function handle($event, $model)
Expand Down
1 change: 1 addition & 0 deletions src/Listeners/CascadeRestoreListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class CascadeRestoreListener
* @return void
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter("event"))
*
* @noinspection PhpUnusedParameterInspection
*/
public function handle($event, $model)
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/LumenEventServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Askedio\SoftCascade\Providers;

use Askedio\SoftCascade\Listeners\CascadeDeleteListener;
use Askedio\SoftCascade\Listeners\CascadeRestoreListener;
use Askedio\SoftCascade\Listeners\CascadeQueryListener;
use Askedio\SoftCascade\Listeners\CascadeRestoreListener;
use Illuminate\Database\Events\QueryExecuted;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\ServiceProvider;
Expand Down
1 change: 1 addition & 0 deletions src/SoftCascade.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public function cascade($models, $direction, array $directionData = [])
* @param Models $models
*
* @return void
*
* @noinspection PhpDocMissingThrowsInspection,PhpUnhandledExceptionInspection
*/
protected function run($models)
Expand Down

0 comments on commit 6b0be8b

Please # to comment.