@@ -276,8 +276,6 @@ public function setDefaults(array $defaults): static
276276 *
277277 * Returns true if {@link setDefault()} was called for this option.
278278 * An option is also considered set if it was set to null.
279- *
280- * @return bool Whether a default value is set
281279 */
282280 public function hasDefault (string $ option ): bool
283281 {
@@ -311,8 +309,6 @@ public function setRequired(string|array $optionNames): static
311309 * Returns whether an option is required.
312310 *
313311 * An option is required if it was passed to {@link setRequired()}.
314- *
315- * @return bool Whether the option is required
316312 */
317313 public function isRequired (string $ option ): bool
318314 {
@@ -322,7 +318,7 @@ public function isRequired(string $option): bool
322318 /**
323319 * Returns the names of all required options.
324320 *
325- * @return string[] The names of the required options
321+ * @return string[]
326322 *
327323 * @see isRequired()
328324 */
@@ -337,8 +333,6 @@ public function getRequiredOptions(): array
337333 * An option is missing if it was passed to {@link setRequired()}, but not
338334 * to {@link setDefault()}. This option must be passed explicitly to
339335 * {@link resolve()}, otherwise an exception will be thrown.
340- *
341- * @return bool Whether the option is missing
342336 */
343337 public function isMissing (string $ option ): bool
344338 {
@@ -348,9 +342,7 @@ public function isMissing(string $option): bool
348342 /**
349343 * Returns the names of all options missing a default value.
350344 *
351- * @return string[] The names of the missing options
352- *
353- * @see isMissing()
345+ * @return string[]
354346 */
355347 public function getMissingOptions (): array
356348 {
@@ -388,8 +380,6 @@ public function setDefined(string|array $optionNames): static
388380 *
389381 * Returns true for any option passed to {@link setDefault()},
390382 * {@link setRequired()} or {@link setDefined()}.
391- *
392- * @return bool Whether the option is defined
393383 */
394384 public function isDefined (string $ option ): bool
395385 {
@@ -399,7 +389,7 @@ public function isDefined(string $option): bool
399389 /**
400390 * Returns the names of all defined options.
401391 *
402- * @return string[] The names of the defined options
392+ * @return string[]
403393 *
404394 * @see isDefined()
405395 */
@@ -851,8 +841,6 @@ public function clear(): static
851841 * - Options have invalid types;
852842 * - Options have invalid values.
853843 *
854- * @return array The merged and validated options
855- *
856844 * @throws UndefinedOptionsException If an option name is undefined
857845 * @throws InvalidOptionsException If an option doesn't fulfill the
858846 * specified validation rules
0 commit comments