Skip to content

Commit

Permalink
Merge branch '5.3' into 5.4
Browse files Browse the repository at this point in the history
* 5.3:
  [DependencyInjection] only allow `ReflectionNamedType` for `ServiceSubscriberTrait`
  Fix CS
  [Intl] Update the ICU data to 70.1
  Default access_decision_manager.strategy option with merge.

Signed-off-by: Alexander M. Turek <me@derrabus.de>
  • Loading branch information
derrabus committed Nov 4, 2021
2 parents b55ba2e + 9523e73 commit bea7632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Input/ArgvInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private function parseLongOption(string $token)
$name = substr($token, 2);

if (false !== $pos = strpos($name, '=')) {
if (0 === \strlen($value = substr($name, $pos + 1))) {
if ('' === $value = substr($name, $pos + 1)) {
array_unshift($this->parsed, $value);
}
$this->addLongOption(substr($name, 0, $pos), $value);
Expand Down

0 comments on commit bea7632

Please sign in to comment.