Skip to content

Commit

Permalink
the assignment to $state is dead and can be removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Izumi-kun committed Nov 9, 2017
1 parent 2c1bf3a commit fdb3887
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ public function trigger()
$filePath = $this->_filePath;
$tries = 4;
$lastError = 'unknown reason';
$state = null;
set_error_handler(function () use (&$lastError) {
$lastError = func_get_arg(1);
});
Expand Down

0 comments on commit fdb3887

Please sign in to comment.