We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5322a3 commit ef6f9a8Copy full SHA for ef6f9a8
src/FeatureCounter/NodeVisitor/ThrowExpressionFlaggingNodeVisitor.php
@@ -9,6 +9,9 @@
9
use PhpParser\NodeVisitorAbstract;
10
11
final class ThrowExpressionFlaggingNodeVisitor extends NodeVisitorAbstract {
12
+ /**
13
+ * @return null|int
14
+ */
15
public function enterNode(Node $node) {
16
if ($node instanceof Expression && $node->expr instanceof Throw_) {
17
return NodeVisitor::DONT_TRAVERSE_CHILDREN;
src/FeatureCounter/ValueObject/FeatureCollector.php
@@ -26,7 +26,6 @@
26
use PhpParser\Node\Stmt\ClassConst;
27
use PhpParser\Node\Stmt\Declare_;
28
use PhpParser\Node\Stmt\Enum_;
29
-use PhpParser\Node\Stmt\Expression;
30
use PhpParser\Node\Stmt\Property;
31
use PhpParser\Node\UnionType;
32
use TomasVotruba\Lines\FeatureCounter\Enum\PhpVersion;
0 commit comments