diff --git a/src/Settings.php b/src/Settings.php index fb0c4ab5..24071af1 100644 --- a/src/Settings.php +++ b/src/Settings.php @@ -127,7 +127,7 @@ public static function parseArguments(array $arguments) } foreach ($arguments as $argument) { - if ($argument{0} !== '-') { + if ($argument[0] !== '-') { $settings->paths[] = $argument; } else { switch ($argument) {