Fix phpstan issues.

This commit is contained in:
James Cole
2025-01-03 15:04:15 +01:00
parent 394d0eabef
commit 7f6c03ce17
10 changed files with 18 additions and 67 deletions

View File

@@ -43,7 +43,7 @@ class CreatesFirstUser extends Command
*/
public function handle(): int
{
if ('testing' !== env('APP_ENV', 'local')) {
if ('testing' !== config('app.env')) {
$this->friendlyError('This command only works in the testing environment.');
return 1;