@@ -152,7 +152,7 @@ class OptionsResolver implements Options, OptionsResolverInterface
152
152
* @param string $option The name of the option
153
153
* @param mixed $value The default value of the option
154
154
*
155
- * @return OptionsResolver This instance
155
+ * @return $this
156
156
*
157
157
* @throws AccessException If called from a lazy option or normalizer
158
158
*/
@@ -215,7 +215,7 @@ public function setDefault($option, $value)
215
215
*
216
216
* @param array $defaults The default values to set
217
217
*
218
- * @return OptionsResolver This instance
218
+ * @return $this
219
219
*
220
220
* @throws AccessException If called from a lazy option or normalizer
221
221
*/
@@ -248,7 +248,7 @@ public function hasDefault($option)
248
248
*
249
249
* @param string|string[] $optionNames One or more option names
250
250
*
251
- * @return OptionsResolver This instance
251
+ * @return $this
252
252
*
253
253
* @throws AccessException If called from a lazy option or normalizer
254
254
*/
@@ -329,7 +329,7 @@ public function getMissingOptions()
329
329
*
330
330
* @param string|string[] $optionNames One or more option names
331
331
*
332
- * @return OptionsResolver This instance
332
+ * @return $this
333
333
*
334
334
* @throws AccessException If called from a lazy option or normalizer
335
335
*/
@@ -396,7 +396,7 @@ public function getDefinedOptions()
396
396
* @param string $option The option name
397
397
* @param \Closure $normalizer The normalizer
398
398
*
399
- * @return OptionsResolver This instance
399
+ * @return $this
400
400
*
401
401
* @throws UndefinedOptionsException If the option is undefined
402
402
* @throws AccessException If called from a lazy option or normalizer
@@ -428,7 +428,7 @@ public function setNormalizer($option, \Closure $normalizer)
428
428
*
429
429
* @param array $normalizers An array of closures
430
430
*
431
- * @return OptionsResolver This instance
431
+ * @return $this
432
432
*
433
433
* @throws UndefinedOptionsException If the option is undefined
434
434
* @throws AccessException If called from a lazy option or normalizer
@@ -463,7 +463,7 @@ public function setNormalizers(array $normalizers)
463
463
* @param string $option The option name
464
464
* @param mixed $allowedValues One or more acceptable values/closures
465
465
*
466
- * @return OptionsResolver This instance
466
+ * @return $this
467
467
*
468
468
* @throws UndefinedOptionsException If the option is undefined
469
469
* @throws AccessException If called from a lazy option or normalizer
@@ -519,7 +519,7 @@ public function setAllowedValues($option, $allowedValues = null)
519
519
* @param string $option The option name
520
520
* @param mixed $allowedValues One or more acceptable values/closures
521
521
*
522
- * @return OptionsResolver This instance
522
+ * @return $this
523
523
*
524
524
* @throws UndefinedOptionsException If the option is undefined
525
525
* @throws AccessException If called from a lazy option or normalizer
@@ -575,7 +575,7 @@ public function addAllowedValues($option, $allowedValues = null)
575
575
* @param string $option The option name
576
576
* @param string|string[] $allowedTypes One or more accepted types
577
577
*
578
- * @return OptionsResolver This instance
578
+ * @return $this
579
579
*
580
580
* @throws UndefinedOptionsException If the option is undefined
581
581
* @throws AccessException If called from a lazy option or normalizer
@@ -625,7 +625,7 @@ public function setAllowedTypes($option, $allowedTypes = null)
625
625
* @param string $option The option name
626
626
* @param string|string[] $allowedTypes One or more accepted types
627
627
*
628
- * @return OptionsResolver This instance
628
+ * @return $this
629
629
*
630
630
* @throws UndefinedOptionsException If the option is undefined
631
631
* @throws AccessException If called from a lazy option or normalizer
@@ -674,7 +674,7 @@ public function addAllowedTypes($option, $allowedTypes = null)
674
674
*
675
675
* @param string|string[] $optionNames One or more option names
676
676
*
677
- * @return OptionsResolver This instance
677
+ * @return $this
678
678
*
679
679
* @throws AccessException If called from a lazy option or normalizer
680
680
*/
@@ -695,7 +695,7 @@ public function remove($optionNames)
695
695
/**
696
696
* Removes all options.
697
697
*
698
- * @return OptionsResolver This instance
698
+ * @return $this
699
699
*
700
700
* @throws AccessException If called from a lazy option or normalizer
701
701
*/
0 commit comments