@@ -45,7 +45,6 @@ public function enterNode(Node $node): ?int
45
45
$ this ->classNodes [strtolower ($ fullClassName )][] = new FetchedNode (
46
46
$ node ,
47
47
$ this ->currentNamespaceNode ,
48
- $ this ->fileName ,
49
48
new LocatedSource ($ this ->contents , $ fullClassName , $ this ->fileName ),
50
49
);
51
50
}
@@ -59,7 +58,6 @@ public function enterNode(Node $node): ?int
59
58
$ this ->functionNodes [strtolower ($ functionName )][] = new FetchedNode (
60
59
$ node ,
61
60
$ this ->currentNamespaceNode ,
62
- $ this ->fileName ,
63
61
new LocatedSource ($ this ->contents , $ functionName , $ this ->fileName ),
64
62
);
65
63
}
@@ -76,7 +74,6 @@ public function enterNode(Node $node): ?int
76
74
$ this ->constantNodes [ConstantNameHelper::normalize ($ const ->namespacedName ->toString ())][] = new FetchedNode (
77
75
$ node ,
78
76
$ this ->currentNamespaceNode ,
79
- $ this ->fileName ,
80
77
new LocatedSource ($ this ->contents , null , $ this ->fileName ),
81
78
);
82
79
}
@@ -98,7 +95,6 @@ public function enterNode(Node $node): ?int
98
95
$ constantNode = new FetchedNode (
99
96
$ node ,
100
97
$ this ->currentNamespaceNode ,
101
- $ this ->fileName ,
102
98
new LocatedSource ($ this ->contents , $ constantName , $ this ->fileName ),
103
99
);
104
100
$ this ->constantNodes [ConstantNameHelper::normalize ($ constantName )][] = $ constantNode ;
0 commit comments