Passed
Push — master ( 33e29c...542bba )
by Dev
22:46 queued 07:53
created
src/EventListener/MediaListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 
98 98
             $this->eventDispatcher->addListener(
99 99
                 KernelEvents::TERMINATE,
100
-                function () use ($media) {
100
+                function() use ($media) {
101 101
                     $this->generateCache($media);
102 102
                 }
103 103
             );
Please login to merge, or discard this patch.
src/Entity/MediaTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
             return $this;
167 167
         }
168 168
 
169
-        if ($this->media!==null) {
169
+        if ($this->media !== null) {
170 170
             $this->setMediaBeforeUpdate($this->media);
171 171
             // TODO must rename media (via service ?!) var_dump($this->media); exit;
172 172
         }
Please login to merge, or discard this patch.