@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | * |
| 27 | 27 | * @return mixed |
| 28 | 28 | */ |
| 29 | - public function getDefaultThumbImage(array $options = []) |
|
| 29 | + public function getDefaultThumbImage(array $options = [ ]) |
|
| 30 | 30 | { |
| 31 | 31 | $url = $this->getDefaultThumbUrl(); |
| 32 | 32 | |
@@ -34,8 +34,8 @@ discard block |
||
| 34 | 34 | return null; |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - if (empty($options['alt'])) { |
|
| 38 | - $options['alt'] = $this->thumbnailModel->alt; |
|
| 37 | + if (empty($options[ 'alt' ])) { |
|
| 38 | + $options[ 'alt' ] = $this->thumbnailModel->alt; |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | return Html::img($url, $options); |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | */ |
| 49 | 49 | public function getDefaultThumbUrl() |
| 50 | 50 | { |
| 51 | - if (null == $this->getThumbnailModel()){ |
|
| 51 | + if (null == $this->getThumbnailModel()) { |
|
| 52 | 52 | return null; |
| 53 | 53 | } |
| 54 | 54 | |