Update laravel framework from 9 to 11, removed some old packages

This commit is contained in:
2024-07-04 15:03:11 +10:00
parent 1b4504cee2
commit 59dc825bf7
101 changed files with 1656 additions and 4062 deletions

View File

@@ -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;
}
/**