@@ -280,7 +280,7 @@ public function setDefaults(array $defaults)
280
280
* Returns true if {@link setDefault()} was called for this option.
281
281
* An option is also considered set if it was set to null.
282
282
*
283
- * @return bool Whether a default value is set
283
+ * @return bool
284
284
*/
285
285
public function hasDefault (string $ option )
286
286
{
@@ -315,7 +315,7 @@ public function setRequired($optionNames)
315
315
*
316
316
* An option is required if it was passed to {@link setRequired()}.
317
317
*
318
- * @return bool Whether the option is required
318
+ * @return bool
319
319
*/
320
320
public function isRequired (string $ option )
321
321
{
@@ -325,7 +325,7 @@ public function isRequired(string $option)
325
325
/**
326
326
* Returns the names of all required options.
327
327
*
328
- * @return string[] The names of the required options
328
+ * @return string[]
329
329
*
330
330
* @see isRequired()
331
331
*/
@@ -341,7 +341,7 @@ public function getRequiredOptions()
341
341
* to {@link setDefault()}. This option must be passed explicitly to
342
342
* {@link resolve()}, otherwise an exception will be thrown.
343
343
*
344
- * @return bool Whether the option is missing
344
+ * @return bool
345
345
*/
346
346
public function isMissing (string $ option )
347
347
{
@@ -351,9 +351,7 @@ public function isMissing(string $option)
351
351
/**
352
352
* Returns the names of all options missing a default value.
353
353
*
354
- * @return string[] The names of the missing options
355
- *
356
- * @see isMissing()
354
+ * @return string[]
357
355
*/
358
356
public function getMissingOptions ()
359
357
{
@@ -392,7 +390,7 @@ public function setDefined($optionNames)
392
390
* Returns true for any option passed to {@link setDefault()},
393
391
* {@link setRequired()} or {@link setDefined()}.
394
392
*
395
- * @return bool Whether the option is defined
393
+ * @return bool
396
394
*/
397
395
public function isDefined (string $ option )
398
396
{
@@ -402,7 +400,7 @@ public function isDefined(string $option)
402
400
/**
403
401
* Returns the names of all defined options.
404
402
*
405
- * @return string[] The names of the defined options
403
+ * @return string[]
406
404
*
407
405
* @see isDefined()
408
406
*/
@@ -869,7 +867,7 @@ public function clear()
869
867
* - Options have invalid types;
870
868
* - Options have invalid values.
871
869
*
872
- * @return array The merged and validated options
870
+ * @return array
873
871
*
874
872
* @throws UndefinedOptionsException If an option name is undefined
875
873
* @throws InvalidOptionsException If an option doesn't fulfill the
@@ -932,7 +930,7 @@ public function resolve(array $options = [])
932
930
*
933
931
* @param bool $triggerDeprecation Whether to trigger the deprecation or not (true by default)
934
932
*
935
- * @return mixed The option value
933
+ * @return mixed
936
934
*
937
935
* @throws AccessException If accessing this method outside of
938
936
* {@link resolve()}
@@ -1194,7 +1192,7 @@ private function verifyTypes(string $type, $value, array &$invalidTypes, int $le
1194
1192
*
1195
1193
* @param string $option The option name
1196
1194
*
1197
- * @return bool Whether the option is set
1195
+ * @return bool
1198
1196
*
1199
1197
* @throws AccessException If accessing this method outside of {@link resolve()}
1200
1198
*
@@ -1241,7 +1239,7 @@ public function offsetUnset($option)
1241
1239
*
1242
1240
* This may be only a subset of the defined options.
1243
1241
*
1244
- * @return int Number of options
1242
+ * @return int
1245
1243
*
1246
1244
* @throws AccessException If accessing this method outside of {@link resolve()}
1247
1245
*
0 commit comments