Skip to content

Commit

Permalink
get driver instance for event payload
Browse files Browse the repository at this point in the history
  • Loading branch information
hsharghi committed Jun 12, 2021
1 parent c4f2a8a commit 92aa107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function via($driver)
// dispatch event
$this->dispatchEvent(
'driver',
$this->driverInstance
$this->getFreshDriverInstance()
);

return $this;
Expand Down

0 comments on commit 92aa107

Please sign in to comment.