diff --git a/utils/CLI.php b/utils/CLI.php index 4f10a4f..400840b 100644 --- a/utils/CLI.php +++ b/utils/CLI.php @@ -177,7 +177,7 @@ public static function loopIn($msg = '', $options = array()) { $optionStr = ''; foreach ($options as $index => $opt) $optionStr .= $opt . (((count($options) - 1) == $index) ? '' : ','); - $prompt = (empty($msg) ? '' : "$msg ") . self::color("[${optionStr},q] ", CLI_WHITE); + $prompt = (empty($msg) ? '' : "$msg ") . self::color("[{$optionStr},q] ", CLI_WHITE); } $prompt .= ': '; // Loop until the user gives a valid answer or quits @@ -315,4 +315,4 @@ public static function deleteDirectoryAndFiles(string $dir) { return rmdir($dir); } } -?> \ No newline at end of file +?>