Change fire() to handle() for Laravel 5.5

This commit is contained in:
snipe 2018-07-25 01:28:44 -07:00
parent 4cc7ed9ec7
commit 47ed328f0e
4 changed files with 4 additions and 4 deletions

View file

@ -65,7 +65,7 @@ class ObjectImportCommand extends Command
* *
* @return mixed * @return mixed
*/ */
public function fire() public function handle()
{ {
$filename = $this->argument('filename'); $filename = $this->argument('filename');
$class = title_case($this->option('item-type')); $class = title_case($this->option('item-type'));

View file

@ -42,7 +42,7 @@ class SendExpectedCheckinAlerts extends Command
* *
* @return mixed * @return mixed
*/ */
public function fire() public function handle()
{ {
$settings = Setting::getSettings(); $settings = Setting::getSettings();
$whenNotify = Carbon::now()->addDays(7); $whenNotify = Carbon::now()->addDays(7);

View file

@ -43,7 +43,7 @@ class SendExpirationAlerts extends Command
* *
* @return mixed * @return mixed
*/ */
public function fire() public function handle()
{ {
$settings = Setting::getSettings(); $settings = Setting::getSettings();

View file

@ -36,7 +36,7 @@ class SystemBackup extends Command
* *
* @return mixed * @return mixed
*/ */
public function fire() public function handle()
{ {
// //
$this->call('backup:run'); $this->call('backup:run');