@@ -276,8 +276,6 @@ public function setDefaults(array $defaults): static
276
276
*
277
277
* Returns true if {@link setDefault()} was called for this option.
278
278
* An option is also considered set if it was set to null.
279
- *
280
- * @return bool Whether a default value is set
281
279
*/
282
280
public function hasDefault (string $ option ): bool
283
281
{
@@ -311,8 +309,6 @@ public function setRequired(string|array $optionNames): static
311
309
* Returns whether an option is required.
312
310
*
313
311
* An option is required if it was passed to {@link setRequired()}.
314
- *
315
- * @return bool Whether the option is required
316
312
*/
317
313
public function isRequired (string $ option ): bool
318
314
{
@@ -322,7 +318,7 @@ public function isRequired(string $option): bool
322
318
/**
323
319
* Returns the names of all required options.
324
320
*
325
- * @return string[] The names of the required options
321
+ * @return string[]
326
322
*
327
323
* @see isRequired()
328
324
*/
@@ -337,8 +333,6 @@ public function getRequiredOptions(): array
337
333
* An option is missing if it was passed to {@link setRequired()}, but not
338
334
* to {@link setDefault()}. This option must be passed explicitly to
339
335
* {@link resolve()}, otherwise an exception will be thrown.
340
- *
341
- * @return bool Whether the option is missing
342
336
*/
343
337
public function isMissing (string $ option ): bool
344
338
{
@@ -348,9 +342,7 @@ public function isMissing(string $option): bool
348
342
/**
349
343
* Returns the names of all options missing a default value.
350
344
*
351
- * @return string[] The names of the missing options
352
- *
353
- * @see isMissing()
345
+ * @return string[]
354
346
*/
355
347
public function getMissingOptions (): array
356
348
{
@@ -388,8 +380,6 @@ public function setDefined(string|array $optionNames): static
388
380
*
389
381
* Returns true for any option passed to {@link setDefault()},
390
382
* {@link setRequired()} or {@link setDefined()}.
391
- *
392
- * @return bool Whether the option is defined
393
383
*/
394
384
public function isDefined (string $ option ): bool
395
385
{
@@ -399,7 +389,7 @@ public function isDefined(string $option): bool
399
389
/**
400
390
* Returns the names of all defined options.
401
391
*
402
- * @return string[] The names of the defined options
392
+ * @return string[]
403
393
*
404
394
* @see isDefined()
405
395
*/
@@ -851,8 +841,6 @@ public function clear(): static
851
841
* - Options have invalid types;
852
842
* - Options have invalid values.
853
843
*
854
- * @return array The merged and validated options
855
- *
856
844
* @throws UndefinedOptionsException If an option name is undefined
857
845
* @throws InvalidOptionsException If an option doesn't fulfill the
858
846
* specified validation rules
0 commit comments