Update laravel framework from 9 to 11, removed some old packages
This commit is contained in:
@@ -17,9 +17,9 @@ class UserPolicy
|
||||
* @param string $ability
|
||||
* @return bool|null
|
||||
*/
|
||||
public function before(User $uo,string $ability): ?bool
|
||||
public function before(User $uo,string $ability): bool
|
||||
{
|
||||
return $uo->isWholesaler() ?: NULL;
|
||||
return $uo->isWholesaler() ?: FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user