admin creation via setup wizard refactoring

This commit is contained in:
Čarodej
2022-02-10 09:06:47 +01:00
parent b5c00e98df
commit 3867c9cd67
9 changed files with 48 additions and 33 deletions

View File

@@ -155,10 +155,8 @@ if (! function_exists('add_paragraphs')) {
if (! function_exists('setEnvironmentValue')) {
/**
* Set environment value
*
* @return bool
*/
function setEnvironmentValue(array $values)
function setEnvironmentValue(array $values): bool
{
$envFile = app()->environmentFilePath();
$str = file_get_contents($envFile);