Passed
Push — master ( 07420f...521211 )
by Quim González
04:06
created
app/Console/Commands/DestroyTaskCommand.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Console/Commands/ListTaskCommand.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/LoginController.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,9 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.