@@ -152,7 +152,7 @@ class OptionsResolver implements Options, OptionsResolverInterface
152152 * @param string $option The name of the option
153153 * @param mixed $value The default value of the option
154154 *
155- * @return OptionsResolver This instance
155+ * @return $this
156156 *
157157 * @throws AccessException If called from a lazy option or normalizer
158158 */
@@ -215,7 +215,7 @@ public function setDefault($option, $value)
215215 *
216216 * @param array $defaults The default values to set
217217 *
218- * @return OptionsResolver This instance
218+ * @return $this
219219 *
220220 * @throws AccessException If called from a lazy option or normalizer
221221 */
@@ -248,7 +248,7 @@ public function hasDefault($option)
248248 *
249249 * @param string|string[] $optionNames One or more option names
250250 *
251- * @return OptionsResolver This instance
251+ * @return $this
252252 *
253253 * @throws AccessException If called from a lazy option or normalizer
254254 */
@@ -329,7 +329,7 @@ public function getMissingOptions()
329329 *
330330 * @param string|string[] $optionNames One or more option names
331331 *
332- * @return OptionsResolver This instance
332+ * @return $this
333333 *
334334 * @throws AccessException If called from a lazy option or normalizer
335335 */
@@ -396,7 +396,7 @@ public function getDefinedOptions()
396396 * @param string $option The option name
397397 * @param \Closure $normalizer The normalizer
398398 *
399- * @return OptionsResolver This instance
399+ * @return $this
400400 *
401401 * @throws UndefinedOptionsException If the option is undefined
402402 * @throws AccessException If called from a lazy option or normalizer
@@ -428,7 +428,7 @@ public function setNormalizer($option, \Closure $normalizer)
428428 *
429429 * @param array $normalizers An array of closures
430430 *
431- * @return OptionsResolver This instance
431+ * @return $this
432432 *
433433 * @throws UndefinedOptionsException If the option is undefined
434434 * @throws AccessException If called from a lazy option or normalizer
@@ -463,7 +463,7 @@ public function setNormalizers(array $normalizers)
463463 * @param string $option The option name
464464 * @param mixed $allowedValues One or more acceptable values/closures
465465 *
466- * @return OptionsResolver This instance
466+ * @return $this
467467 *
468468 * @throws UndefinedOptionsException If the option is undefined
469469 * @throws AccessException If called from a lazy option or normalizer
@@ -519,7 +519,7 @@ public function setAllowedValues($option, $allowedValues = null)
519519 * @param string $option The option name
520520 * @param mixed $allowedValues One or more acceptable values/closures
521521 *
522- * @return OptionsResolver This instance
522+ * @return $this
523523 *
524524 * @throws UndefinedOptionsException If the option is undefined
525525 * @throws AccessException If called from a lazy option or normalizer
@@ -575,7 +575,7 @@ public function addAllowedValues($option, $allowedValues = null)
575575 * @param string $option The option name
576576 * @param string|string[] $allowedTypes One or more accepted types
577577 *
578- * @return OptionsResolver This instance
578+ * @return $this
579579 *
580580 * @throws UndefinedOptionsException If the option is undefined
581581 * @throws AccessException If called from a lazy option or normalizer
@@ -625,7 +625,7 @@ public function setAllowedTypes($option, $allowedTypes = null)
625625 * @param string $option The option name
626626 * @param string|string[] $allowedTypes One or more accepted types
627627 *
628- * @return OptionsResolver This instance
628+ * @return $this
629629 *
630630 * @throws UndefinedOptionsException If the option is undefined
631631 * @throws AccessException If called from a lazy option or normalizer
@@ -674,7 +674,7 @@ public function addAllowedTypes($option, $allowedTypes = null)
674674 *
675675 * @param string|string[] $optionNames One or more option names
676676 *
677- * @return OptionsResolver This instance
677+ * @return $this
678678 *
679679 * @throws AccessException If called from a lazy option or normalizer
680680 */
@@ -695,7 +695,7 @@ public function remove($optionNames)
695695 /**
696696 * Removes all options.
697697 *
698- * @return OptionsResolver This instance
698+ * @return $this
699699 *
700700 * @throws AccessException If called from a lazy option or normalizer
701701 */
0 commit comments