Skip to content

Commit d330017

Browse files
Backport type fixes
1 parent 2e607d6 commit d330017

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

OptionsResolver.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,6 @@ public function setDefault($option, $value)
232232
}
233233

234234
/**
235-
* Sets a list of default values.
236-
*
237-
* @param array $defaults The default values to set
238-
*
239235
* @return $this
240236
*
241237
* @throws AccessException If called from a lazy option or normalizer
@@ -468,8 +464,7 @@ public function isDeprecated(string $option): bool
468464
*
469465
* The resolved option value is set to the return value of the closure.
470466
*
471-
* @param string $option The option name
472-
* @param \Closure $normalizer The normalizer
467+
* @param string $option The option name
473468
*
474469
* @return $this
475470
*
@@ -512,10 +507,6 @@ public function setNormalizer($option, \Closure $normalizer)
512507
*
513508
* The resolved option value is set to the return value of the closure.
514509
*
515-
* @param string $option The option name
516-
* @param \Closure $normalizer The normalizer
517-
* @param bool $forcePrepend If set to true, prepend instead of appending
518-
*
519510
* @return $this
520511
*
521512
* @throws UndefinedOptionsException If the option is undefined
@@ -767,8 +758,6 @@ public function clear()
767758
* - Options have invalid types;
768759
* - Options have invalid values.
769760
*
770-
* @param array $options A map of option names to values
771-
*
772761
* @return array The merged and validated options
773762
*
774763
* @throws UndefinedOptionsException If an option name is undefined

0 commit comments

Comments
 (0)