Completed
Push — 1.x ( 4583b7...7c9630 )
by Asao
01:32
created
src/Data/AbstractData.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             if (is_array($found)) {
92 92
                 return in_array($value, $found);
93 93
             }
94
-            return (string)$value === (string)$found;
94
+            return (string) $value === (string) $found;
95 95
         }
96 96
         return true;
97 97
     }
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
                 ? true
150 150
                 : (string) $inputs;
151 151
         }
152
-        foreach($levels as $key => $next) {
152
+        foreach ($levels as $key => $next) {
153 153
             if (Accessor::has($inputs, $key)) {
154 154
                 return $this->recurseGet($next, Accessor::get($inputs, $key));
155 155
             }
Please login to merge, or discard this patch.
src/Tags/TagToString.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@  discard block
 block discarded – undo
12 12
         $prop = (string) $element->getAttribute();
13 13
         $tag  = $element->getTagName();
14 14
         if ($element->isClosed() || $element->hasContents()) {
15
-            $html = '<' . $tag . $prop . ' >' . $element->getContents() . "</{$tag}>" . "\n";
15
+            $html = '<'.$tag.$prop.' >'.$element->getContents()."</{$tag}>"."\n";
16 16
         } else {
17
-            $html = '<' . $tag . $prop . ' >' . "\n";
17
+            $html = '<'.$tag.$prop.' >'."\n";
18 18
         }
19 19
         $html = rtrim($html);
20 20
         return $html;
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
                 }
39 39
                 $property[] = "{$key}=\"{$val}\"";
40 40
             }
41
-            return ' ' . implode(' ', $property);
41
+            return ' '.implode(' ', $property);
42 42
         }
43 43
         return '';
44 44
     }
Please login to merge, or discard this patch.