Skip to content

Commit

Permalink
styleci fixes
Browse files Browse the repository at this point in the history
fix style errors
fix error call
  • Loading branch information
codemonkeysoftware committed Dec 27, 2020
1 parent cf9d1b5 commit 6f620bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions app/Console/Commands/CreateAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace App\Console\Commands;

use function Safe\touch;
use App\Helpers\InstanceHelper;
use App\Models\Account\Account;
use Illuminate\Console\Command;

Expand Down Expand Up @@ -34,13 +32,15 @@ public function handle()
{
$email = $this->option('email');
if (empty($email)) {
$this.error('! You must specify an email');
return;
$this->error('! You must specify an email');
}

$password = $this->option('password');
if (empty($password)) {
$this.error('! You must specify a password');
$this->error('! You must specify a password');
}

if (empty($email) || empty($password)) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace App\Console;

use App\Console\Commands\Clean;
use App\Console\Commands\CreateAccount;
use App\Console\Commands\Update;
use App\Console\Commands\Passport;
use App\Console\Commands\ExportAll;
Expand All @@ -14,6 +13,7 @@
use App\Console\Commands\ImportVCards;
use App\Console\Commands\LangGenerate;
use App\Console\Commands\SetUserAdmin;
use App\Console\Commands\CreateAccount;
use App\Console\Commands\Deactivate2FA;
use App\Console\Commands\SendReminders;
use App\Console\Commands\SendTestEmail;
Expand Down

0 comments on commit 6f620bb

Please sign in to comment.