@@ -409,7 +409,7 @@ public function setNormalizer($option, \Closure $normalizer)
409
409
410
410
if (!isset ($ this ->defined [$ option ])) {
411
411
throw new UndefinedOptionsException (sprintf (
412
- 'The option "%s" does not exist. Known options are: "%s". ' ,
412
+ 'The option "%s" does not exist. Defined options are: "%s". ' ,
413
413
$ option ,
414
414
implode ('", " ' , array_keys ($ this ->defined ))
415
415
));
@@ -473,7 +473,7 @@ public function setAllowedValues($option, $allowedValues = null)
473
473
474
474
if (!isset ($ this ->defined [$ option ])) {
475
475
throw new UndefinedOptionsException (sprintf (
476
- 'The option "%s" does not exist. Known options are: "%s". ' ,
476
+ 'The option "%s" does not exist. Defined options are: "%s". ' ,
477
477
$ option ,
478
478
implode ('", " ' , array_keys ($ this ->defined ))
479
479
));
@@ -527,7 +527,7 @@ public function addAllowedValues($option, $allowedValues = null)
527
527
528
528
if (!isset ($ this ->defined [$ option ])) {
529
529
throw new UndefinedOptionsException (sprintf (
530
- 'The option "%s" does not exist. Known options are: "%s". ' ,
530
+ 'The option "%s" does not exist. Defined options are: "%s". ' ,
531
531
$ option ,
532
532
implode ('", " ' , array_keys ($ this ->defined ))
533
533
));
@@ -579,7 +579,7 @@ public function setAllowedTypes($option, $allowedTypes = null)
579
579
580
580
if (!isset ($ this ->defined [$ option ])) {
581
581
throw new UndefinedOptionsException (sprintf (
582
- 'The option "%s" does not exist. Known options are: "%s". ' ,
582
+ 'The option "%s" does not exist. Defined options are: "%s". ' ,
583
583
$ option ,
584
584
implode ('", " ' , array_keys ($ this ->defined ))
585
585
));
@@ -627,7 +627,7 @@ public function addAllowedTypes($option, $allowedTypes = null)
627
627
628
628
if (!isset ($ this ->defined [$ option ])) {
629
629
throw new UndefinedOptionsException (sprintf (
630
- 'The option "%s" does not exist. Known options are: "%s". ' ,
630
+ 'The option "%s" does not exist. Defined options are: "%s". ' ,
631
631
$ option ,
632
632
implode ('", " ' , array_keys ($ this ->defined ))
633
633
));
@@ -742,7 +742,7 @@ public function resolve(array $options = array())
742
742
ksort ($ diff );
743
743
744
744
throw new UndefinedOptionsException (sprintf (
745
- (count ($ diff ) > 1 ? 'The options "%s" do not exist. ' : 'The option "%s" does not exist. ' ).' Known options are: "%s". ' ,
745
+ (count ($ diff ) > 1 ? 'The options "%s" do not exist. ' : 'The option "%s" does not exist. ' ).' Defined options are: "%s". ' ,
746
746
implode ('", " ' , array_keys ($ diff )),
747
747
implode ('", " ' , array_keys ($ clone ->defined ))
748
748
));
@@ -808,7 +808,7 @@ public function offsetGet($option)
808
808
if (!array_key_exists ($ option , $ this ->defaults )) {
809
809
if (!isset ($ this ->defined [$ option ])) {
810
810
throw new NoSuchOptionException (sprintf (
811
- 'The option "%s" does not exist. Known options are: "%s". ' ,
811
+ 'The option "%s" does not exist. Defined options are: "%s". ' ,
812
812
$ option ,
813
813
implode ('", " ' , array_keys ($ this ->defined ))
814
814
));
0 commit comments