Skip to content

Commit

Permalink
Remove final from on and off methods of static behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Horat1us committed Mar 6, 2019
1 parent e36226a commit c3c64c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/StaticBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ public function handle(base\Event $event): void
$handler($event);
}

final protected function on(string $event, callable $handler): void
protected function on(string $event, callable $handler): void
{
base\Event::on($this->target, $event, $handler);
}

final protected function off(string $event, callable $handler): void
protected function off(string $event, callable $handler): void
{
base\Event::off($this->target, $event, $handler);
}
Expand Down

0 comments on commit c3c64c7

Please sign in to comment.