phpstan 5 errors fixed

This commit is contained in:
2024-11-25 15:34:09 +05:00
parent 2e0cc45e99
commit 0d875acc4e
28 changed files with 463 additions and 248 deletions

View File

@@ -26,6 +26,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot(): void
{
Model::unguard();
Model::shouldBeStrict(! app()->isProduction());
Event::listen(