PHP deprecation fixes, assigning null arguments in methods
This commit is contained in:
@@ -1028,7 +1028,7 @@ class Service extends Model
|
||||
* @return Collection
|
||||
* @throws Exception
|
||||
*/
|
||||
public function next_invoice_items(Carbon $billdate=NULL): Collection
|
||||
public function next_invoice_items(?Carbon $billdate=NULL): Collection
|
||||
{
|
||||
if ($this->is_cancelled || (! $this->is_billed))
|
||||
return collect();
|
||||
|
Reference in New Issue
Block a user