Completed
Push — master ( dc4f2a...373130 )
by Davide
05:12 queued 01:06
created
src/ResponsiveGalleryServiceProvider.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
         $this->mergeConfigFrom(__DIR__.'/../config/responsive-gallery.php', 'responsive-gallery');
45 45
         
46 46
         $this->app->bind('gallery-index', function(){
47
-           return new ResponsiveGalleryFactory();
48
-       });
47
+            return new ResponsiveGalleryFactory();
48
+        });
49 49
 
50 50
     
51 51
     }
Please login to merge, or discard this patch.
src/Http/Controllers/ResponsiveGalleryController.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@
 block discarded – undo
30 30
                 $galleryImages = GalleryImage::orderBy('file_name')
31 31
                                     ->where('file_name', 'like', '%' . $request->input('keywords') . '%')
32 32
                                     ->paginate(20);
33
-            }
34
-            else
35
-                $galleryImages = GalleryImage::orderBy('file_name')
33
+            } else {
34
+                            $galleryImages = GalleryImage::orderBy('file_name')
36 35
                                     ->paginate(20);
36
+            }
37 37
 
38 38
             return view('vendor.laravel-responsive-gallery.index',compact('galleryImages'))
39 39
                             ->with('i', (request()->input('page', 1) - 1) * 20)
Please login to merge, or discard this patch.
src/GalleryImage.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     
16 16
    
17 17
 
18
-   /* public $guarded = [];
18
+    /* public $guarded = [];
19 19
 
20 20
     public $casts = [
21 21
         'serialized_event' => 'array',
Please login to merge, or discard this patch.