From 19060fa16f1a721dfe52e6fe27465c9221320c80 Mon Sep 17 00:00:00 2001 From: Sevan Nerse Date: Fri, 16 Oct 2020 12:09:53 +0300 Subject: [PATCH] fixing typo --- app/Console/Commands/Install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Install.php b/app/Console/Commands/Install.php index a73a2cc71..f18bec765 100644 --- a/app/Console/Commands/Install.php +++ b/app/Console/Commands/Install.php @@ -97,7 +97,7 @@ class Install extends Command { $missing_options = []; - $contants = [ + $constants = [ 'OPT_LOCALE', 'OPT_DB_PORT', 'OPT_DB_HOST', @@ -113,7 +113,7 @@ class Install extends Command $allowed_empty = ['db_password', 'db_prefix']; - foreach ($contants as $const) { + foreach ($constants as $const) { $option = constant("self::$const"); $property = str_replace('-', '_', $option);