Skip to content

Commit

Permalink
Never rely on dynamic properties
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Nov 15, 2021
1 parent 2fe8168 commit 1a024b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/EventDispatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ public function __invoke()

class TestEventListener
{
public $name;
public $preFooInvoked = false;
public $postFooInvoked = false;

Expand Down

0 comments on commit 1a024b4

Please sign in to comment.