@@ -59,7 +59,7 @@ |
||
| 59 | 59 | } |
| 60 | 60 | if($count == 0){ |
| 61 | 61 | $this->alert("Task does not exist"); |
| 62 | - }else { |
|
| 62 | + } else { |
|
| 63 | 63 | $this->info('Task has been deleted to database succesfully'); |
| 64 | 64 | } |
| 65 | 65 | |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | |
| 49 | 49 | $this->table($headers,$tasks); |
| 50 | 50 | |
| 51 | - }catch (exception $e){ |
|
| 51 | + } catch (exception $e){ |
|
| 52 | 52 | $this->error('Error: ' . $e); |
| 53 | 53 | } |
| 54 | 54 | |
@@ -68,7 +68,9 @@ |
||
| 68 | 68 | */ |
| 69 | 69 | protected function attemptLogin(Request $request) |
| 70 | 70 | { |
| 71 | - if ($this->username() === 'email') return $this->attemptLoginAtAuthenticatesUsers($request); |
|
| 71 | + if ($this->username() === 'email') { |
|
| 72 | + return $this->attemptLoginAtAuthenticatesUsers($request); |
|
| 73 | + } |
|
| 72 | 74 | if ( ! $this->attemptLoginAtAuthenticatesUsers($request)) { |
| 73 | 75 | return $this->attempLoginUsingUsernameAsAnEmail($request); |
| 74 | 76 | } |