Skip to content

Commit

Permalink
chore: update console stub return types and docblocks (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
browner12 committed Jan 22, 2024
1 parent 054f11e commit aac9c1b
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/Commands/stubs/console.stub
@@ -1,30 +1,28 @@
<?php

namespace DummyNamespace;
namespace {{ namespace }};

use Illuminate\Console\Scheduling\Schedule;
use LaravelZero\Framework\Commands\Command;

class DummyClass extends Command
{
/**
* The signature of the command.
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'dummy:command';
protected $signature = '{{ command }}';

/**
* The description of the command.
* The console command description.
*
* @var string
*/
protected $description = 'Command description';

/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
Expand All @@ -33,9 +31,6 @@ class DummyClass extends Command

/**
* Define the command's schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
public function schedule(Schedule $schedule): void
{
Expand Down

0 comments on commit aac9c1b

Please sign in to comment.