Skip to content

Commit

Permalink
another php7.4 compat fix
Browse files Browse the repository at this point in the history
  • Loading branch information
graste committed Feb 25, 2020
1 parent 10d8276 commit 92db052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CodeGen/Parser/Config/ConfigIniParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ protected function fixPath($path)
if (empty($path)) {
return $fixed_path;
}
if (DIRECTORY_SEPARATOR != $path{strlen($path) - 1}) {
if (DIRECTORY_SEPARATOR != $path[strlen($path) - 1]) {
$fixed_path .= DIRECTORY_SEPARATOR;
}

Expand Down

0 comments on commit 92db052

Please sign in to comment.