Skip to content

Commit

Permalink
fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sevannerse committed Oct 16, 2020
1 parent ec8bfae commit 19060fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Console/Commands/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private function getMissingOptions()
{
$missing_options = [];

$contants = [
$constants = [
'OPT_LOCALE',
'OPT_DB_PORT',
'OPT_DB_HOST',
Expand All @@ -113,7 +113,7 @@ private function getMissingOptions()

$allowed_empty = ['db_password', 'db_prefix'];

foreach ($contants as $const) {
foreach ($constants as $const) {
$option = constant("self::$const");

$property = str_replace('-', '_', $option);
Expand Down

0 comments on commit 19060fa

Please sign in to comment.