Skip to content

Commit 9f05425

Browse files
committed
Merge branch '3.2'
* 3.2: [FrameworkBundle] Ignore AnnotationException exceptions in the AnnotationsCacheWarmer fixed @return when returning this or static override property constraints in child class removed unneeded comment [Console] improved code coverage of Command class [FrameworkBundle] Make TemplateController working without the Templating component [FrameworkBundle] Allow multiple transactions with the same name Only count on arrays or countables to avoid warnings in PHP 7.2
2 parents e67996f + 6f34979 commit 9f05425

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

OptionsResolver.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class OptionsResolver implements Options
145145
* @param string $option The name of the option
146146
* @param mixed $value The default value of the option
147147
*
148-
* @return OptionsResolver This instance
148+
* @return $this
149149
*
150150
* @throws AccessException If called from a lazy option or normalizer
151151
*/
@@ -208,7 +208,7 @@ public function setDefault($option, $value)
208208
*
209209
* @param array $defaults The default values to set
210210
*
211-
* @return OptionsResolver This instance
211+
* @return $this
212212
*
213213
* @throws AccessException If called from a lazy option or normalizer
214214
*/
@@ -241,7 +241,7 @@ public function hasDefault($option)
241241
*
242242
* @param string|string[] $optionNames One or more option names
243243
*
244-
* @return OptionsResolver This instance
244+
* @return $this
245245
*
246246
* @throws AccessException If called from a lazy option or normalizer
247247
*/
@@ -322,7 +322,7 @@ public function getMissingOptions()
322322
*
323323
* @param string|string[] $optionNames One or more option names
324324
*
325-
* @return OptionsResolver This instance
325+
* @return $this
326326
*
327327
* @throws AccessException If called from a lazy option or normalizer
328328
*/
@@ -389,7 +389,7 @@ public function getDefinedOptions()
389389
* @param string $option The option name
390390
* @param \Closure $normalizer The normalizer
391391
*
392-
* @return OptionsResolver This instance
392+
* @return $this
393393
*
394394
* @throws UndefinedOptionsException If the option is undefined
395395
* @throws AccessException If called from a lazy option or normalizer
@@ -432,7 +432,7 @@ public function setNormalizer($option, \Closure $normalizer)
432432
* @param string $option The option name
433433
* @param mixed $allowedValues One or more acceptable values/closures
434434
*
435-
* @return OptionsResolver This instance
435+
* @return $this
436436
*
437437
* @throws UndefinedOptionsException If the option is undefined
438438
* @throws AccessException If called from a lazy option or normalizer
@@ -477,7 +477,7 @@ public function setAllowedValues($option, $allowedValues)
477477
* @param string $option The option name
478478
* @param mixed $allowedValues One or more acceptable values/closures
479479
*
480-
* @return OptionsResolver This instance
480+
* @return $this
481481
*
482482
* @throws UndefinedOptionsException If the option is undefined
483483
* @throws AccessException If called from a lazy option or normalizer
@@ -522,7 +522,7 @@ public function addAllowedValues($option, $allowedValues)
522522
* @param string $option The option name
523523
* @param string|string[] $allowedTypes One or more accepted types
524524
*
525-
* @return OptionsResolver This instance
525+
* @return $this
526526
*
527527
* @throws UndefinedOptionsException If the option is undefined
528528
* @throws AccessException If called from a lazy option or normalizer
@@ -561,7 +561,7 @@ public function setAllowedTypes($option, $allowedTypes)
561561
* @param string $option The option name
562562
* @param string|string[] $allowedTypes One or more accepted types
563563
*
564-
* @return OptionsResolver This instance
564+
* @return $this
565565
*
566566
* @throws UndefinedOptionsException If the option is undefined
567567
* @throws AccessException If called from a lazy option or normalizer
@@ -599,7 +599,7 @@ public function addAllowedTypes($option, $allowedTypes)
599599
*
600600
* @param string|string[] $optionNames One or more option names
601601
*
602-
* @return OptionsResolver This instance
602+
* @return $this
603603
*
604604
* @throws AccessException If called from a lazy option or normalizer
605605
*/
@@ -620,7 +620,7 @@ public function remove($optionNames)
620620
/**
621621
* Removes all options.
622622
*
623-
* @return OptionsResolver This instance
623+
* @return $this
624624
*
625625
* @throws AccessException If called from a lazy option or normalizer
626626
*/

0 commit comments

Comments
 (0)