mirror of
https://gh.wpcy.net/https://github.com/fairpm/aspirecloud.git
synced 2026-06-20 02:22:28 +08:00
19 lines
486 B
PHP
19 lines
486 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
/** Adds better type support to Laravel's built-in Command class */
|
|
abstract class Command extends \Illuminate\Console\Command
|
|
{
|
|
/**
|
|
* Get the value of a command argument.
|
|
*
|
|
* @param string|null $key
|
|
* @return ($key is null ? array<array-key, mixed> : string|bool|null)
|
|
*/
|
|
public function argument($key = null): array|string|bool|null
|
|
{
|
|
return parent::argument($key);
|
|
}
|
|
}
|