Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Mar 4, 2025
1 parent 522873d commit 877ef9b
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Commands/CreateDoorkeyHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
use FoF\Doorman\Doorkey;
use FoF\Doorman\Events\DoorkeyCreated;
use FoF\Doorman\Validators\DoorkeyValidator;
use Illuminate\Support\Arr;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Support\Arr;

class CreateDoorkeyHandler
{
Expand Down
2 changes: 0 additions & 2 deletions src/Commands/DeleteDoorkeyHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
use FoF\Doorman\Events\DoorkeyDeleted;
use Illuminate\Contracts\Events\Dispatcher;


class DeleteDoorkeyHandler
{

/**
* @var Dispatcher
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/EditDoorkeyHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
use FoF\Doorman\Doorkey;
use FoF\Doorman\Events\DoorkeyUpdated;
use FoF\Doorman\Validators\DoorkeyValidator;
use Illuminate\Support\Arr;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Support\Arr;

class EditDoorkeyHandler
{
Expand Down
12 changes: 11 additions & 1 deletion src/Events/AbstractDoorkeyEvent.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<?php

/*
* This file is part of fof/doorman.
*
* Copyright (c) Reflar.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/

namespace FoF\Doorman\Events;

use Flarum\User\User;
Expand All @@ -17,7 +28,6 @@ abstract class AbstractDoorkeyEvent
*/
protected $actor;


/**
* @var array
*/
Expand Down
11 changes: 11 additions & 0 deletions src/Events/DoorkeyCreated.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<?php

/*
* This file is part of fof/doorman.
*
* Copyright (c) Reflar.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/

namespace FoF\Doorman\Events;

class DoorkeyCreated extends AbstractDoorkeyEvent
Expand Down
11 changes: 11 additions & 0 deletions src/Events/DoorkeyDeleted.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<?php

/*
* This file is part of fof/doorman.
*
* Copyright (c) Reflar.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/

namespace FoF\Doorman\Events;

class DoorkeyDeleted extends AbstractDoorkeyEvent
Expand Down
11 changes: 11 additions & 0 deletions src/Events/DoorkeyUpdated.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<?php

/*
* This file is part of fof/doorman.
*
* Copyright (c) Reflar.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/

namespace FoF\Doorman\Events;

class DoorkeyUpdated extends AbstractDoorkeyEvent
Expand Down
11 changes: 11 additions & 0 deletions src/Events/DoorkeyUsed.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<?php

/*
* This file is part of fof/doorman.
*
* Copyright (c) Reflar.
* Copyright (c) FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/

namespace FoF\Doorman\Events;

class DoorkeyUsed extends AbstractDoorkeyEvent
Expand Down

0 comments on commit 877ef9b

Please sign in to comment.