mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Allow $client in driver() (CompanyGateway) to be nullable
This commit is contained in:
parent
99d686a845
commit
d3cc6d6014
@ -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…
Reference in New Issue
Block a user