diff --git a/composer.json b/composer.json index 580cfe6..675bf37 100644 --- a/composer.json +++ b/composer.json @@ -12,10 +12,10 @@ } ], "require": { - "php": "^5.5.9 || ^7.0", - "illuminate/support": "~5.1", - "illuminate/console": "~5.1", - "illuminate/filesystem": "~5.1" + "php": ">=7.2", + "illuminate/support": "~5.0|^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/console": "~5.1|^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/filesystem": "~5.1|^6.0|^7.0|^8.0|^9.0|^10.0" }, "require-dev": { "phpunit/phpunit" : "^4.8 || ^5.0", diff --git a/src/Commands/FindCommand.php b/src/Commands/FindCommand.php index 73cad05..fcc63a2 100644 --- a/src/Commands/FindCommand.php +++ b/src/Commands/FindCommand.php @@ -112,7 +112,7 @@ private function tableRows() $original[$languageKey] = isset($values[$languageKey]) ? $values[$languageKey] - : isset($filesContent[$fileName][$languageKey][$key]) ? $filesContent[$fileName][$languageKey][$key] : ''; + : (isset($filesContent[$fileName][$languageKey][$key]) ? $filesContent[$fileName][$languageKey][$key] : ''); } // Sort the language values based on language name