@@ -91,7 +91,7 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -12,9 +12,9 @@ discard block |
||
| 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 |
||
| 38 | 38 | } |
| 39 | 39 | $property[] = "{$key}=\"{$val}\""; |
| 40 | 40 | } |
| 41 | - return ' ' . implode(' ', $property); |
|
| 41 | + return ' '.implode(' ', $property); |
|
| 42 | 42 | } |
| 43 | 43 | return ''; |
| 44 | 44 | } |