| 1 | <?php |
||
| 8 | class CleanupCommand extends Command |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var BaseInvite |
||
| 12 | */ |
||
| 13 | protected $invite; |
||
| 14 | |||
| 15 | 57 | public function __construct(BaseInvite $invite) |
|
| 20 | |||
| 21 | /** |
||
| 22 | * The console command signature. |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | protected $signature = 'doorman:cleanup'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * The console command description. |
||
| 30 | * |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | protected $description = 'Remove expired invites from the database.'; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Execute the console command. |
||
| 37 | * |
||
| 38 | * @return mixed |
||
| 39 | */ |
||
| 40 | 1 | public function handle() |
|
| 46 | } |
||
| 47 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.