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 12, 2024
1 parent 5e28ae0 commit 3bfd0e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/Events/PollOptionCreated.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
* file that was distributed with this source code.
*/

namespace FoF\Polls\Events;
namespace FoF\Polls\Events;

use Flarum\User\User;
use FoF\Polls\PollOption;

class PollOptionCreated
{
class PollOptionCreated
{
/**
* @var PollOption
*/
Expand All @@ -25,10 +25,10 @@ class PollOptionCreated
* @var User
*/
public $actor;

public function __construct(PollOption $option, User $actor)
{
$this->option = $option;
$this->actor = $actor;
}
}
}
10 changes: 5 additions & 5 deletions src/Events/PollOptionUpdated.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
* file that was distributed with this source code.
*/

namespace FoF\Polls\Events;
namespace FoF\Polls\Events;

use Flarum\User\User;
use FoF\Polls\PollOption;

class PollOptionUpdated
{
class PollOptionUpdated
{
/**
* @var PollOption
*/
Expand All @@ -25,10 +25,10 @@ class PollOptionUpdated
* @var User
*/
public $actor;

public function __construct(PollOption $option, User $actor)
{
$this->option = $option;
$this->actor = $actor;
}
}
}

0 comments on commit 3bfd0e4

Please sign in to comment.