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 9cca58b
Showing 1 changed file with 6 additions and 6 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

0 comments on commit 9cca58b

Please sign in to comment.