@@ -57,7 +57,7 @@ |
||
| 57 | 57 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'laravel-cards'); |
| 58 | 58 | |
| 59 | 59 | // Register the main class to use with the facade |
| 60 | - $this->app->singleton('laravel-cards', function () { |
|
| 60 | + $this->app->singleton('laravel-cards', function() { |
|
| 61 | 61 | return new LaravelCards; |
| 62 | 62 | }); |
| 63 | 63 | } |
@@ -88,15 +88,15 @@ |
||
| 88 | 88 | $imageAlignment = $matches[4]; |
| 89 | 89 | |
| 90 | 90 | switch ($imageAlignment) { |
| 91 | - case 'left': |
|
| 91 | + case 'left': |
|
| 92 | 92 | $ret['img_col_order_class'] = 'order-md-1'; |
| 93 | - $ret['text_col_order_class'] = 'order-md-2'; |
|
| 94 | - break; |
|
| 95 | - case 'right': |
|
| 93 | + $ret['text_col_order_class'] = 'order-md-2'; |
|
| 94 | + break; |
|
| 95 | + case 'right': |
|
| 96 | 96 | $ret['img_col_order_class'] = 'order-md-2'; |
| 97 | - $ret['text_col_order_class'] = 'order-md-1'; |
|
| 98 | - break; |
|
| 99 | - } |
|
| 97 | + $ret['text_col_order_class'] = 'order-md-1'; |
|
| 98 | + break; |
|
| 99 | + } |
|
| 100 | 100 | |
| 101 | 101 | //dump($ret); |
| 102 | 102 | |