Passed
Push — dependabot/npm_and_yarn/sass-l... ( 9a638b...f75201 )
by
unknown
13:19 queued 04:49
created
src/Fields/Types/AllowsTags.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
     public function tagged($tag): bool
10 10
     {
11
-        $tags = (array) $tag;
11
+        $tags = (array)$tag;
12 12
 
13 13
         return count(array_intersect($this->tags, $tags)) > 0;
14 14
     }
@@ -27,8 +27,8 @@  discard block
 block discarded – undo
27 27
 
28 28
     public function untag($tag)
29 29
     {
30
-        foreach((array) $tag as $_tag) {
31
-            if(false !== ($k = array_search($_tag, $this->tags))) {
30
+        foreach ((array)$tag as $_tag) {
31
+            if (false !== ($k = array_search($_tag, $this->tags))) {
32 32
                 unset($this->tags[$k]);
33 33
             }
34 34
         }
Please login to merge, or discard this patch.