@@ -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 | } |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | **/ |
| 116 | 116 | public static function prepareCardHtml($parameters, $post) |
| 117 | 117 | { |
| 118 | - if (! is_null($post)) { |
|
| 118 | + if (!is_null($post)) { |
|
| 119 | 119 | $ret = "<div class='row featurette' style='".$parameters['bkg_color'].' '.$parameters['text_color']."'>"; |
| 120 | 120 | if ($parameters['container_wrap']) { |
| 121 | 121 | $ret .= "<div class='container'>"; |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | $ret .= "<div class='lead mb-4'>".$post['body'].'</div>'; |
| 126 | 126 | $ret .= '</div>'; |
| 127 | 127 | |
| 128 | - if (! empty($post['introimage'])) { |
|
| 128 | + if (!empty($post['introimage'])) { |
|
| 129 | 129 | $ret .= "<div class='image d-none d-md-block ".$parameters['img_col_size_class'].' '.$parameters['img_col_order_class']."' |
| 130 | 130 | style=' |
| 131 | 131 | background-size: cover; |