Mercurial > hg > isophonics-drupal-site
diff vendor/psy/psysh/src/Psy/Input/ShellInput.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/vendor/psy/psysh/src/Psy/Input/ShellInput.php Fri Feb 23 15:51:18 2018 +0000 +++ b/vendor/psy/psysh/src/Psy/Input/ShellInput.php Fri Feb 23 15:52:07 2018 +0000 @@ -50,7 +50,7 @@ $hasCodeArgument = false; if ($definition->getArgumentCount() > 0) { - $args = $definition->getArguments(); + $args = $definition->getArguments(); $lastArg = array_pop($args); foreach ($args as $arg) { if ($arg instanceof CodeArgument) { @@ -218,7 +218,7 @@ private function parseShortOptionSet($name) { $len = strlen($name); - for ($i = 0; $i < $len; ++$i) { + for ($i = 0; $i < $len; $i++) { if (!$this->definition->hasShortcut($name[$i])) { throw new \RuntimeException(sprintf('The "-%s" option does not exist.', $name[$i])); }