Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit 68b08b8

Browse files
committed
Update Settings
Replace the curly braces notation for string comparison (deprecated in PHP 7.4)
1 parent 4683539 commit 68b08b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public static function parseArguments(array $arguments)
127127
}
128128

129129
foreach ($arguments as $argument) {
130-
if ($argument{0} !== '-') {
130+
if ($argument[0] !== '-') {
131131
$settings->paths[] = $argument;
132132
} else {
133133
switch ($argument) {

0 commit comments

Comments
 (0)