Passed
Push — dev5 ( 50422a...60964f )
by Ron
08:49
created
app/Http/Middleware/RedirectIfAuthenticated.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,8 @@
 block discarded – undo
17 17
      */
18 18
     public function handle($request, Closure $next, $guard = null)
19 19
     {
20
-        if(Auth::guard($guard)->check()) {
20
+        if(Auth::guard($guard)->check())
21
+        {
21 22
             return redirect('/dashboard');
22 23
         }
23 24
 
Please login to merge, or discard this patch.
app/Console/Commands/CleanLogs.php 1 patch
Braces   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,8 @@  discard block
 block discarded – undo
42 42
         $this->line('');
43 43
 
44 44
         //  Determine if the daily or single log channel is being used
45
-        switch($channel) {
45
+        switch($channel)
46
+        {
46 47
             case 'daily':
47 48
                 $this->dailyLog();
48 49
                 break;
@@ -84,10 +85,13 @@  discard block
 block discarded – undo
84 85
     private function cleanLogFile($logFile)
85 86
     {
86 87
         //  Verify the file exists before trying to clear it
87
-        if(file_exists($logFile)) {
88
+        if(file_exists($logFile))
89
+        {
88 90
             file_put_contents($logFile, '');
89 91
             $this->line('Log File Emptied');
90
-        } else {
92
+        }
93
+        else
94
+        {
91 95
             $this->line('Well, this is embarrassing...');
92 96
             $this->line('It seems I cannot find your log file');
93 97
             $this->line('');
Please login to merge, or discard this patch.