@@ -145,7 +145,7 @@ class OptionsResolver implements Options
145
145
* @param string $option The name of the option
146
146
* @param mixed $value The default value of the option
147
147
*
148
- * @return OptionsResolver This instance
148
+ * @return $this
149
149
*
150
150
* @throws AccessException If called from a lazy option or normalizer
151
151
*/
@@ -208,7 +208,7 @@ public function setDefault($option, $value)
208
208
*
209
209
* @param array $defaults The default values to set
210
210
*
211
- * @return OptionsResolver This instance
211
+ * @return $this
212
212
*
213
213
* @throws AccessException If called from a lazy option or normalizer
214
214
*/
@@ -241,7 +241,7 @@ public function hasDefault($option)
241
241
*
242
242
* @param string|string[] $optionNames One or more option names
243
243
*
244
- * @return OptionsResolver This instance
244
+ * @return $this
245
245
*
246
246
* @throws AccessException If called from a lazy option or normalizer
247
247
*/
@@ -322,7 +322,7 @@ public function getMissingOptions()
322
322
*
323
323
* @param string|string[] $optionNames One or more option names
324
324
*
325
- * @return OptionsResolver This instance
325
+ * @return $this
326
326
*
327
327
* @throws AccessException If called from a lazy option or normalizer
328
328
*/
@@ -389,7 +389,7 @@ public function getDefinedOptions()
389
389
* @param string $option The option name
390
390
* @param \Closure $normalizer The normalizer
391
391
*
392
- * @return OptionsResolver This instance
392
+ * @return $this
393
393
*
394
394
* @throws UndefinedOptionsException If the option is undefined
395
395
* @throws AccessException If called from a lazy option or normalizer
@@ -432,7 +432,7 @@ public function setNormalizer($option, \Closure $normalizer)
432
432
* @param string $option The option name
433
433
* @param mixed $allowedValues One or more acceptable values/closures
434
434
*
435
- * @return OptionsResolver This instance
435
+ * @return $this
436
436
*
437
437
* @throws UndefinedOptionsException If the option is undefined
438
438
* @throws AccessException If called from a lazy option or normalizer
@@ -477,7 +477,7 @@ public function setAllowedValues($option, $allowedValues)
477
477
* @param string $option The option name
478
478
* @param mixed $allowedValues One or more acceptable values/closures
479
479
*
480
- * @return OptionsResolver This instance
480
+ * @return $this
481
481
*
482
482
* @throws UndefinedOptionsException If the option is undefined
483
483
* @throws AccessException If called from a lazy option or normalizer
@@ -522,7 +522,7 @@ public function addAllowedValues($option, $allowedValues)
522
522
* @param string $option The option name
523
523
* @param string|string[] $allowedTypes One or more accepted types
524
524
*
525
- * @return OptionsResolver This instance
525
+ * @return $this
526
526
*
527
527
* @throws UndefinedOptionsException If the option is undefined
528
528
* @throws AccessException If called from a lazy option or normalizer
@@ -561,7 +561,7 @@ public function setAllowedTypes($option, $allowedTypes)
561
561
* @param string $option The option name
562
562
* @param string|string[] $allowedTypes One or more accepted types
563
563
*
564
- * @return OptionsResolver This instance
564
+ * @return $this
565
565
*
566
566
* @throws UndefinedOptionsException If the option is undefined
567
567
* @throws AccessException If called from a lazy option or normalizer
@@ -599,7 +599,7 @@ public function addAllowedTypes($option, $allowedTypes)
599
599
*
600
600
* @param string|string[] $optionNames One or more option names
601
601
*
602
- * @return OptionsResolver This instance
602
+ * @return $this
603
603
*
604
604
* @throws AccessException If called from a lazy option or normalizer
605
605
*/
@@ -620,7 +620,7 @@ public function remove($optionNames)
620
620
/**
621
621
* Removes all options.
622
622
*
623
- * @return OptionsResolver This instance
623
+ * @return $this
624
624
*
625
625
* @throws AccessException If called from a lazy option or normalizer
626
626
*/
0 commit comments