Skip to content

Commit a1ff3ce

Browse files
committed
Update MagicConstHandler.php
1 parent b5cd2b2 commit a1ff3ce

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Analyser/Generator/ExprHandler/MagicConstHandler.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,15 @@ public function __construct(private InitializerExprTypeResolver $initializerExpr
3636

3737
public function supports(Expr $expr): bool
3838
{
39-
return
40-
$expr instanceof Dir
39+
return $expr instanceof Dir
4140
|| $expr instanceof File
4241
|| $expr instanceof Line
4342
|| $expr instanceof Namespace_
4443
|| $expr instanceof Class_
4544
|| $expr instanceof Property
4645
|| $expr instanceof Function_
4746
|| $expr instanceof Method
48-
|| $expr instanceof Trait_
49-
;
47+
|| $expr instanceof Trait_;
5048
}
5149

5250
public function analyseExpr(Stmt $stmt, Expr $expr, GeneratorScope $scope, ExpressionContext $context, ?callable $alternativeNodeCallback): Generator

0 commit comments

Comments
 (0)