Completed
Push — master ( 5ab18c...4e82e1 )
by claudio
08:39
created
app/Http/Controllers/NoAuthController.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace plunner\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-use plunner\Http\Requests;
7
-
8 5
 class NoAuthController extends Controller
9 6
 {
10 7
     public function __construct()
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,10 @@
 block discarded – undo
26 26
         //$this->authorize($meeting);
27 27
         $ret = self::getImg($meeting);
28 28
         $blank = storage_path('img/meetings.jpg');
29
-        if ($ret === false)
30
-            return (new Response(file_get_contents($blank), 200))
29
+        if ($ret === false) {
30
+                    return (new Response(file_get_contents($blank), 200))
31 31
                 ->header('Content-Type', 'image/jpeg');
32
+        }
32 33
         return (new Response($ret, 200))
33 34
             ->header('Content-Type', 'image/jpeg');
34 35
     }
Please login to merge, or discard this patch.