Skip to content

Commit

Permalink
Merge pull request #5 from marc-firebrand/fix/deprecated-events-method
Browse files Browse the repository at this point in the history
Replaced deprecated events method
  • Loading branch information
Rickycezar committed May 12, 2019
2 parents 16baf0c + 795e4a4 commit 1724fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/ImpersonateManager.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function leave()
$this->clear();
$token = $this->deferLogin($impersonator);

$this->app['events']->fire(new LeaveImpersonation($impersonator, $impersonated));
$this->app['events']->dispatch(new LeaveImpersonation($impersonator, $impersonated));

return $token;
} else {
Expand Down

0 comments on commit 1724fe3

Please sign in to comment.