@@ -3,9 +3,6 @@ |
||
3 | 3 | namespace Solidifier\Defects; |
4 | 4 | |
5 | 5 | use Solidifier\Defect; |
6 | -use Solidifier\Visitors\ObjectType; |
|
7 | -use PhpParser\Node\Stmt\Property; |
|
8 | -use PhpParser\Node\Stmt\Class_; |
|
9 | 6 | |
10 | 7 | class PublicClass extends Defect |
11 | 8 | { |
@@ -20,11 +20,11 @@ |
||
20 | 20 | { |
21 | 21 | $this->privateAttributes = array(); |
22 | 22 | $this->publicMethods = array(); |
23 | - } |
|
23 | + } |
|
24 | 24 | elseif($node instanceof Property) |
25 | 25 | { |
26 | 26 | $this->enterProperty($node); |
27 | - } |
|
27 | + } |
|
28 | 28 | elseif($node instanceof ClassMethod) |
29 | 29 | { |
30 | 30 | $this->enterClassMethod($node); |
@@ -45,7 +45,7 @@ |
||
45 | 45 | } |
46 | 46 | |
47 | 47 | private function initializeVisitors() |
48 | - { |
|
48 | + { |
|
49 | 49 | $this->visitors = array( |
50 | 50 | |
51 | 51 | 'property.public' => function(array $config) { |