Passed
Push — master ( 374fda...92af2b )
by Davide
06:51 queued 12s
created
src/LaravelCards.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -139,15 +139,15 @@
 block discarded – undo
139 139
         ];
140 140
 
141 141
         switch ($card->img_alignment) {
142
-             case 'left':
142
+                case 'left':
143 143
                  $ret['img_col_order_class'] = 'order-md-1';
144
-                 $ret['text_col_order_class'] = 'order-md-2';
145
-                 break;
146
-             case 'right':
144
+                    $ret['text_col_order_class'] = 'order-md-2';
145
+                    break;
146
+                case 'right':
147 147
                  $ret['img_col_order_class'] = 'order-md-2';
148
-                 $ret['text_col_order_class'] = 'order-md-1';
149
-                 break;
150
-         }
148
+                    $ret['text_col_order_class'] = 'order-md-1';
149
+                    break;
150
+            }
151 151
 
152 152
         return $ret;
153 153
     }
Please login to merge, or discard this patch.
src/Http/Controllers/CardController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,9 +48,9 @@
 block discarded – undo
48 48
         }
49 49
 
50 50
         return view('laravel-cards::cards.index', compact('cards'))
51
-                     ->with('i', (request()->input('page', 1) - 1) * 20)
52
-                     ->with('searchKeywords', $searchKeywords)
53
-                     ->with('countriesAvailableForTranslations', $countriesAvailableForTranslations);
51
+                        ->with('i', (request()->input('page', 1) - 1) * 20)
52
+                        ->with('searchKeywords', $searchKeywords)
53
+                        ->with('countriesAvailableForTranslations', $countriesAvailableForTranslations);
54 54
     }
55 55
 
56 56
     /***************************************************************************/
Please login to merge, or discard this patch.