mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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 */
|
/* 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();
|
$class = static::driver_class();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user