@@ -13,7 +13,7 @@ |
||
| 13 | 13 | { |
| 14 | 14 | public function __invoke() |
| 15 | 15 | { |
| 16 | - $configFile = require __DIR__.'/../../../config/config.php'; |
|
| 16 | + $configFile = require __DIR__ . '/../../../config/config.php'; |
|
| 17 | 17 | $servicesContainer = new ServicesContainer($configFile); |
| 18 | 18 | |
| 19 | 19 | return $servicesContainer; |
@@ -25,6 +25,6 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function render($embedUrl, $width, $height) |
| 27 | 27 | { |
| 28 | - return '<iframe width="'.$width.'" height="'.$height.'" src="'.addslashes($embedUrl).'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'; |
|
| 28 | + return '<iframe width="' . $width . '" height="' . $height . '" src="' . addslashes($embedUrl) . '" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'; |
|
| 29 | 29 | } |
| 30 | 30 | } |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | */ |
| 168 | 168 | public function getSmallThumbnail($secure = false) |
| 169 | 169 | { |
| 170 | - return $this->getThumbnail(self::THUMBNAIL_SMALL,$secure); |
|
| 170 | + return $this->getThumbnail(self::THUMBNAIL_SMALL, $secure); |
|
| 171 | 171 | } |
| 172 | 172 | |
| 173 | 173 | /** |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | */ |
| 180 | 180 | public function getMediumThumbnail($secure = false) |
| 181 | 181 | { |
| 182 | - return $this->getThumbnail(self::THUMBNAIL_MEDIUM,$secure); |
|
| 182 | + return $this->getThumbnail(self::THUMBNAIL_MEDIUM, $secure); |
|
| 183 | 183 | } |
| 184 | 184 | |
| 185 | 185 | /** |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | */ |
| 193 | 193 | public function getLargeThumbnail($secure = false) |
| 194 | 194 | { |
| 195 | - return $this->getThumbnail(self::THUMBNAIL_LARGE,$secure); |
|
| 195 | + return $this->getThumbnail(self::THUMBNAIL_LARGE, $secure); |
|
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | */ |
| 206 | 206 | public function getLargestThumbnail($secure = false) |
| 207 | 207 | { |
| 208 | - return $this->getThumbnail(self::THUMBNAIL_LARGE,$secure); |
|
| 208 | + return $this->getThumbnail(self::THUMBNAIL_LARGE, $secure); |
|
| 209 | 209 | } |
| 210 | 210 | |
| 211 | 211 | /** |