Allow $client in driver() (CompanyGateway) to be nullable
This commit is contained in:
parent
99d686a845
commit
d3cc6d6014
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class CompanyGateway extends BaseModel
|
|||
}
|
||||
|
||||
/* This is the public entry point into the payment superclass */
|
||||
public function driver(Client $client)
|
||||
public function driver(Client $client = null)
|
||||
{
|
||||
$class = static::driver_class();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue