@@ -270,8 +270,6 @@ public function setDefaults(array $defaults)
270270 * Returns true if {@link setDefault()} was called for this option.
271271 * An option is also considered set if it was set to null.
272272 *
273- * @param string $option The option name
274- *
275273 * @return bool Whether a default value is set
276274 */
277275 public function hasDefault (string $ option )
@@ -307,8 +305,6 @@ public function setRequired($optionNames)
307305 *
308306 * An option is required if it was passed to {@link setRequired()}.
309307 *
310- * @param string $option The name of the option
311- *
312308 * @return bool Whether the option is required
313309 */
314310 public function isRequired (string $ option )
@@ -335,8 +331,6 @@ public function getRequiredOptions()
335331 * to {@link setDefault()}. This option must be passed explicitly to
336332 * {@link resolve()}, otherwise an exception will be thrown.
337333 *
338- * @param string $option The name of the option
339- *
340334 * @return bool Whether the option is missing
341335 */
342336 public function isMissing (string $ option )
@@ -388,8 +382,6 @@ public function setDefined($optionNames)
388382 * Returns true for any option passed to {@link setDefault()},
389383 * {@link setRequired()} or {@link setDefined()}.
390384 *
391- * @param string $option The option name
392- *
393385 * @return bool Whether the option is defined
394386 */
395387 public function isDefined (string $ option )
@@ -502,8 +494,6 @@ public function isDeprecated(string $option): bool
502494 *
503495 * The resolved option value is set to the return value of the closure.
504496 *
505- * @param string $option The option name
506- *
507497 * @return $this
508498 *
509499 * @throws UndefinedOptionsException If the option is undefined
@@ -668,7 +658,6 @@ public function addAllowedValues(string $option, $allowedValues)
668658 * acceptable. Additionally, fully-qualified class or interface names may
669659 * be passed.
670660 *
671- * @param string $option The option name
672661 * @param string|string[] $allowedTypes One or more accepted types
673662 *
674663 * @return $this
@@ -703,7 +692,6 @@ public function setAllowedTypes(string $option, $allowedTypes)
703692 * acceptable. Additionally, fully-qualified class or interface names may
704693 * be passed.
705694 *
706- * @param string $option The option name
707695 * @param string|string[] $allowedTypes One or more accepted types
708696 *
709697 * @return $this
@@ -905,8 +893,7 @@ public function resolve(array $options = [])
905893 /**
906894 * Returns the resolved value of an option.
907895 *
908- * @param string $option The option name
909- * @param bool $triggerDeprecation Whether to trigger the deprecation or not (true by default)
896+ * @param bool $triggerDeprecation Whether to trigger the deprecation or not (true by default)
910897 *
911898 * @return mixed The option value
912899 *
0 commit comments