Skip to content

Commit

Permalink
Merge pull request #54 from homersimpsons/fix/php74-curly-brace-access
Browse files Browse the repository at this point in the history
PHP74: Fix curly brace access
  • Loading branch information
moufmouf committed Jun 9, 2020
2 parents eed0269 + 838b514 commit d601c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mouf/Mvc/Splash/Routers/PhpVarsCheckRouter.php
Expand Up @@ -63,7 +63,7 @@ private static function iniGetBytes($val)
$val = trim(ini_get($val));
if ($val != '') {
$last = strtolower(
$val{strlen($val) - 1}
$val[strlen($val) - 1]
);
} else {
$last = '';
Expand Down

0 comments on commit d601c48

Please sign in to comment.