mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Fix deprecation in backend DB seeder
The "${var}" variable format inside strings is deprecated as of PHP 8.2.
This commit is contained in:
parent
5a2e397348
commit
6c074473d3
@ -26,7 +26,8 @@ class DatabaseSeeder extends Seeder
|
||||
$this->call($adminSeeder);
|
||||
});
|
||||
|
||||
return $shouldRandomizePassword ? 'The following password has been automatically generated for the "admin" account: '
|
||||
. "<fg=yellow;options=bold>${adminPassword}</>" : '';
|
||||
return ($shouldRandomizePassword)
|
||||
? 'The following password has been automatically generated for the "admin" account: <fg=yellow;options=bold>' . $adminPassword . '</>'
|
||||
: '';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user