Skip to content

A free open source IT asset/license management system

Change fire() to handle() for Laravel 5.5

snipe47ed328f0e31
diff --git a/app/Console/Commands/ObjectImportCommand.php b/app/Console/Commands/ObjectImportCommand.php
index 6730e6f084..7254cec15c 100644
--- a/app/Console/Commands/ObjectImportCommand.php
+++ b/app/Console/Commands/ObjectImportCommand.php
@@ -65,7 +65,7 @@ class ObjectImportCommand extends Command
*
* @return mixed
*/
- public function fire()
+ public function handle()
{
$filename = $this->argument('filename');
$class = title_case($this->option('item-type'));
diff --git a/app/Console/Commands/SendExpectedCheckinAlerts.php b/app/Console/Commands/SendExpectedCheckinAlerts.php
index 1a2c6d09dd..a78f0e1ae3 100644
--- a/app/Console/Commands/SendExpectedCheckinAlerts.php
+++ b/app/Console/Commands/SendExpectedCheckinAlerts.php
@@ -42,7 +42,7 @@ class SendExpectedCheckinAlerts extends Command
*
* @return mixed
*/
- public function fire()
+ public function handle()
{
$settings = Setting::getSettings();
$whenNotify = Carbon::now()->addDays(7);
diff --git a/app/Console/Commands/SendExpirationAlerts.php b/app/Console/Commands/SendExpirationAlerts.php
index 82a324067c..cdc62f8cc3 100644
--- a/app/Console/Commands/SendExpirationAlerts.php
+++ b/app/Console/Commands/SendExpirationAlerts.php
@@ -43,7 +43,7 @@ class SendExpirationAlerts extends Command
*
* @return mixed
*/
- public function fire()
+ public function handle()
{
$settings = Setting::getSettings();
diff --git a/app/Console/Commands/SystemBackup.php b/app/Console/Commands/SystemBackup.php
index 26b1c0c750..2e4965c28b 100644
--- a/app/Console/Commands/SystemBackup.php
+++ b/app/Console/Commands/SystemBackup.php
@@ -36,7 +36,7 @@ class SystemBackup extends Command
*
* @return mixed
*/
- public function fire()
+ public function handle()
{
//
$this->call('backup:run');