@@ -45,7 +45,7 @@ |
||
| 45 | 45 | $allowedClasses = explode($this->getStringProperty('delimiter'), $allowedChildren); |
| 46 | 46 | |
| 47 | 47 | foreach ($allowedClasses as &$allowedClass) { |
| 48 | - $allowedClass = 'AST'.$allowedClass; |
|
| 48 | + $allowedClass = 'AST' . $allowedClass; |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | return $allowedClasses; |
@@ -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 | } |