@@ -23,7 +23,7 @@ |
||
23 | 23 | $this->addViolation($node); |
24 | 24 | } |
25 | 25 | |
26 | - if (1 === $countTry && true === $this->hasNotAllowedChildren($node)) { |
|
26 | + if (1 === $countTry && true === $this->hasNotAllowedChildren($node)) { |
|
27 | 27 | $this->addViolation($node); |
28 | 28 | } |
29 | 29 | } |
@@ -133,7 +133,7 @@ |
||
133 | 133 | foreach ($methods as $method) { |
134 | 134 | if ('set' === substr($method->getImage(), 0, 3)) { |
135 | 135 | $child = $method->getFirstChildOfType('Variable'); |
136 | - if($child && '$this' === $child->getImage()) { |
|
136 | + if ($child && '$this' === $child->getImage()) { |
|
137 | 137 | $count++; |
138 | 138 | } |
139 | 139 | } |