mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 03:32:32 -08:00
Renamed fire() to handle()
This commit is contained in:
parent
77547c528b
commit
df8008f1ed
|
@ -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'));
|
||||
|
|
|
@ -42,7 +42,7 @@ class SendExpectedCheckinAlerts extends Command
|
|||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
$settings = Setting::getSettings();
|
||||
$whenNotify = Carbon::now()->addDays(7);
|
||||
|
|
|
@ -43,7 +43,7 @@ class SendExpirationAlerts extends Command
|
|||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
|
||||
$settings = Setting::getSettings();
|
||||
|
|
|
@ -36,7 +36,7 @@ class SystemBackup extends Command
|
|||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
//
|
||||
$this->call('backup:run');
|
||||
|
|
Loading…
Reference in a new issue