We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aabbd4 commit 0e103f3Copy full SHA for 0e103f3
src/Illuminate/Console/Command.php
@@ -246,7 +246,7 @@ public function hasArgument($name)
246
* Get the value of a command argument.
247
*
248
* @param string|null $key
249
- * @return string|array
+ * @return string|array|null
250
*/
251
public function argument($key = null)
252
{
@@ -282,7 +282,7 @@ public function hasOption($name)
282
* Get the value of a command option.
283
284
285
286
287
public function option($key = null)
288
0 commit comments