@@ -33,11 +33,11 @@ class InputOption
33
33
private $ description ;
34
34
35
35
/**
36
- * @param string $name The option name
37
- * @param string|array $shortcut The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts
38
- * @param int|null $mode The option mode: One of the VALUE_* constants
39
- * @param string $description A description text
40
- * @param string|string[]|bool|null $default The default value (must be null for self::VALUE_NONE)
36
+ * @param string $name The option name
37
+ * @param string|array $shortcut The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts
38
+ * @param int|null $mode The option mode: One of the VALUE_* constants
39
+ * @param string $description A description text
40
+ * @param string|string[]|int| bool|null $default The default value (must be null for self::VALUE_NONE)
41
41
*
42
42
* @throws InvalidArgumentException If option mode is invalid or incompatible
43
43
*/
@@ -149,7 +149,7 @@ public function isArray()
149
149
/**
150
150
* Sets the default value.
151
151
*
152
- * @param string|string[]|bool|null $default The default value
152
+ * @param string|string[]|int| bool|null $default The default value
153
153
*
154
154
* @throws LogicException When incorrect default value is given
155
155
*/
@@ -173,7 +173,7 @@ public function setDefault($default = null)
173
173
/**
174
174
* Returns the default value.
175
175
*
176
- * @return string|string[]|bool|null The default value
176
+ * @return string|string[]|int| bool|null The default value
177
177
*/
178
178
public function getDefault ()
179
179
{
0 commit comments