Fix commands
This commit is contained in:
@@ -40,7 +40,7 @@ class BeaconCommand extends Command
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
dispatch(new SendBeaconJob());
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ class DemoMetricPointSeederCommand extends Command
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
if (!$this->confirmToProceed()) {
|
||||
return;
|
||||
|
||||
@@ -79,7 +79,7 @@ class DemoSeederCommand extends Command
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
if (!$this->confirmToProceed()) {
|
||||
return;
|
||||
|
||||
@@ -41,7 +41,7 @@ class InstallCommand extends Command
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
if (!$this->confirm('Do you want to install Cachet?')) {
|
||||
$this->line('Installation aborted. Goodbye!');
|
||||
|
||||
@@ -39,7 +39,7 @@ class VersionCommand extends Command
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
$this->info('Cachet '.CACHET_VERSION.' is installed ⚡');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user