PHP deprecation fixes, assigning null arguments in methods
This commit is contained in:
@@ -40,7 +40,7 @@ class Supplier extends Model
|
||||
* @param Supplier|null $so
|
||||
* @return Collection
|
||||
*/
|
||||
public static function offeringTypes(self $so=NULL): Collection
|
||||
public static function offeringTypes(?self $so=NULL): Collection
|
||||
{
|
||||
$result = collect();
|
||||
|
||||
|
Reference in New Issue
Block a user