@@ -270,8 +270,6 @@ public function setDefaults(array $defaults)
270
270
* Returns true if {@link setDefault()} was called for this option.
271
271
* An option is also considered set if it was set to null.
272
272
*
273
- * @param string $option The option name
274
- *
275
273
* @return bool Whether a default value is set
276
274
*/
277
275
public function hasDefault (string $ option )
@@ -307,8 +305,6 @@ public function setRequired($optionNames)
307
305
*
308
306
* An option is required if it was passed to {@link setRequired()}.
309
307
*
310
- * @param string $option The name of the option
311
- *
312
308
* @return bool Whether the option is required
313
309
*/
314
310
public function isRequired (string $ option )
@@ -335,8 +331,6 @@ public function getRequiredOptions()
335
331
* to {@link setDefault()}. This option must be passed explicitly to
336
332
* {@link resolve()}, otherwise an exception will be thrown.
337
333
*
338
- * @param string $option The name of the option
339
- *
340
334
* @return bool Whether the option is missing
341
335
*/
342
336
public function isMissing (string $ option )
@@ -388,8 +382,6 @@ public function setDefined($optionNames)
388
382
* Returns true for any option passed to {@link setDefault()},
389
383
* {@link setRequired()} or {@link setDefined()}.
390
384
*
391
- * @param string $option The option name
392
- *
393
385
* @return bool Whether the option is defined
394
386
*/
395
387
public function isDefined (string $ option )
@@ -502,8 +494,6 @@ public function isDeprecated(string $option): bool
502
494
*
503
495
* The resolved option value is set to the return value of the closure.
504
496
*
505
- * @param string $option The option name
506
- *
507
497
* @return $this
508
498
*
509
499
* @throws UndefinedOptionsException If the option is undefined
@@ -668,7 +658,6 @@ public function addAllowedValues(string $option, $allowedValues)
668
658
* acceptable. Additionally, fully-qualified class or interface names may
669
659
* be passed.
670
660
*
671
- * @param string $option The option name
672
661
* @param string|string[] $allowedTypes One or more accepted types
673
662
*
674
663
* @return $this
@@ -703,7 +692,6 @@ public function setAllowedTypes(string $option, $allowedTypes)
703
692
* acceptable. Additionally, fully-qualified class or interface names may
704
693
* be passed.
705
694
*
706
- * @param string $option The option name
707
695
* @param string|string[] $allowedTypes One or more accepted types
708
696
*
709
697
* @return $this
@@ -905,8 +893,7 @@ public function resolve(array $options = [])
905
893
/**
906
894
* Returns the resolved value of an option.
907
895
*
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)
910
897
*
911
898
* @return mixed The option value
912
899
*
0 commit comments