@@ -29,7 +29,7 @@ |
||
29 | 29 | * GitChanges constructor. |
30 | 30 | * |
31 | 31 | * @param Config $config |
32 | - * @param array $files |
|
32 | + * @param string[] $files |
|
33 | 33 | */ |
34 | 34 | public function __construct(Config $config, array $files) |
35 | 35 | { |
@@ -153,7 +153,7 @@ |
||
153 | 153 | |
154 | 154 | // Parse instantiations and static calls. |
155 | 155 | $dependencies = []; |
156 | - \iterate_over_node($stmt, function ($node) use (&$dependencies) { |
|
156 | + \iterate_over_node($stmt, function($node) use (&$dependencies) { |
|
157 | 157 | switch (true) { |
158 | 158 | case $node instanceof Node\Expr\New_: |
159 | 159 | // new MyClass |
@@ -32,7 +32,7 @@ |
||
32 | 32 | public function __construct($stopCondition = null) |
33 | 33 | { |
34 | 34 | if (null === $stopCondition) { |
35 | - $stopCondition = function (Node $node) { |
|
35 | + $stopCondition = function(Node $node) { |
|
36 | 36 | return !($node instanceof ClassLike); |
37 | 37 | }; |
38 | 38 | } |
@@ -81,7 +81,7 @@ |
||
81 | 81 | $metrics = new Metrics(); |
82 | 82 | |
83 | 83 | // Traverse all files. |
84 | - $whenToStop = function () { |
|
84 | + $whenToStop = function() { |
|
85 | 85 | return true; |
86 | 86 | }; |
87 | 87 |