@@ -124,10 +124,6 @@ public function getMethodSignature(string $className, string $methodName, ?\Refl
124
124
return $ this ->functionSignatureMapProvider ->getMethodSignature ($ className , $ methodName , $ reflectionMethod , $ variant );
125
125
}
126
126
127
- if ($ this ->functionSignatureMapProvider ->hasMethodSignature ($ className , $ methodName , 1 )) {
128
- return $ this ->functionSignatureMapProvider ->getMethodSignature ($ className , $ methodName , $ reflectionMethod , $ variant );
129
- }
130
-
131
127
$ methodNode = $ this ->findMethodNode ($ className , $ methodName );
132
128
if ($ methodNode === null ) {
133
129
return $ this ->functionSignatureMapProvider ->getMethodSignature ($ className , $ methodName , $ reflectionMethod , $ variant );
@@ -157,10 +153,6 @@ public function getFunctionSignature(string $functionName, ?string $className, i
157
153
return $ this ->functionSignatureMapProvider ->getFunctionSignature ($ functionName , $ className , $ variant );
158
154
}
159
155
160
- if ($ this ->functionSignatureMapProvider ->hasFunctionSignature ($ functionName , 1 )) {
161
- return $ this ->functionSignatureMapProvider ->getFunctionSignature ($ functionName , $ className , $ variant );
162
- }
163
-
164
156
$ stubFile = self ::DIRECTORY . '/ ' . Php8StubsMap::FUNCTIONS [$ lowerName ];
165
157
$ nodes = $ this ->fileNodesFetcher ->fetchNodes ($ stubFile );
166
158
$ functions = $ nodes ->getFunctionNodes ();
0 commit comments