Stuff
This commit is contained in:
parent
7dab146c49
commit
43fe499c71
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ class CalculateSpace extends Command
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'calculate:space {--day=}';
|
||||
protected $signature = 'calculate:space {--date=}';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
|
@ -41,7 +41,7 @@ class CalculateSpace extends Command
|
|||
*/
|
||||
public function handle()
|
||||
{
|
||||
$day = $this->argument('day');;
|
||||
$day = $this->option('date');
|
||||
if(empty($day)) {
|
||||
$day = date("Y-m-d");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue