@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | public function getFunctions() |
23 | 23 | { |
24 | 24 | return array( |
25 | - new \Twig_SimpleFunction('record_hash', [ $this, 'getRecordHash' ]), |
|
25 | + new \Twig_SimpleFunction('record_hash', [$this, 'getRecordHash']), |
|
26 | 26 | new \Twig_SimpleFunction('record_caption', [$this, 'getRecordCaption']), |
27 | 27 | new \Twig_SimpleFunction('story_caption', [$this, 'getStoryCaption']), |
28 | 28 | new \Twig_SimpleFunction('fetch_thumbnail', [$this, 'fetchThumbnail']), |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | { |
43 | 43 | $subdef = $this->fetchThumbnail($record, $thumbType, $instanceName); |
44 | 44 | |
45 | - if (! $subdef) { |
|
45 | + if (!$subdef) { |
|
46 | 46 | return ''; |
47 | 47 | } |
48 | 48 |