Ops, sorry.
Il 22/nov/2013 13:46 "Christophe Coevoet" <notifications@github.com> ha
scritto:

> In src/Symfony/Component/Console/Input/InputArgument.php:
>
> > @@ -96,7 +96,7 @@ public function isArray()
> >      public function setDefault($default = null)
> >      {
> >          if (self::REQUIRED === $this->mode && null !== $default) {
> > -            throw new \LogicException('Cannot set a default value except for InputArgument::OPTIONAL mode.');
> > +            throw new \LogicException('Cannot set a default value except for InputArgument::REQUIRED mode.');
>
> Your change is wrong. The message was saying except for
> InputArgument::OPTIONAL, which means it was equivalent to saying Can only
> set a default value for InputArgument::OPTIONAL mode..
> your new message means Can only set a default value for
> InputArgument::REQUIRED mode., which is wrong
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/symfony/symfony/pull/9571/files#r7854743>
> .
>