Completed
Push — master ( ec4c85...89b5b4 )
by Thibaud
04:36
created
src/Bundle/Twig/PhraseanetExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.