Skip to content

Commit

Permalink
use getDriverInstance() instead of getFreshDriverInstance()
Browse files Browse the repository at this point in the history
  • Loading branch information
hsharghi committed Jun 12, 2021
1 parent 92aa107 commit 33b6844
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->getFreshDriverInstance()
$this->getDriverInstance()
);

return $this;
Expand Down

0 comments on commit 33b6844

Please sign in to comment.