PHP deprecation fixes, assigning null arguments in methods
This commit is contained in:
@@ -73,7 +73,7 @@ class Broadband extends Type
|
||||
* @param bool $ceil Round the numbers to integers
|
||||
* @return array|string
|
||||
*/
|
||||
public function allowance(Collection $config=NULL,array $data=[],bool $ceil=TRUE)
|
||||
public function allowance(?Collection $config=NULL,array $data=[],bool $ceil=TRUE)
|
||||
{
|
||||
$map = collect(self::traffic_map);
|
||||
$merge = collect(self::traffic_merge);
|
||||
|
Reference in New Issue
Block a user