Passed
Push — master ( 820f5a...eb62b5 )
by Nicolaas
10:24
created
src/Extensions/DataObjectExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
         // NB.
21 21
         // if the dataobject has the versioned extension then the cache should be invalidated onAfterPublish
22 22
         // hasStages function is part of the Versioned class so safe to check here
23
-        if (! $owner->hasExtension(Versioned::class)) {
23
+        if (!$owner->hasExtension(Versioned::class)) {
24 24
             $this->doUpdateCache($className);
25
-        } elseif (! $owner->hasStages()) {
25
+        } elseif (!$owner->hasStages()) {
26 26
             $this->doUpdateCache($className);
27 27
         }
28 28
     }
Please login to merge, or discard this patch.