Skip to content

Commit a654da5

Browse files
committed
Remove old code
1 parent f4cf1ee commit a654da5

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/Reflection/SignatureMap/FunctionSignatureMapProvider.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use PHPStan\Reflection\InitializerExprTypeResolver;
1010
use PHPStan\ShouldNotHappenException;
1111
use PHPStan\Type\MixedType;
12-
use PHPStan\Type\Type;
1312
use PHPStan\Type\TypehintHelper;
1413
use ReflectionFunctionAbstract;
1514
use function array_change_key_case;
@@ -260,9 +259,4 @@ public function getClassConstantMetadata(string $className, string $constantName
260259
throw new ShouldNotHappenException();
261260
}
262261

263-
public function getTypeFromString(string $typeString, ?string $className): Type
264-
{
265-
return $this->parser->getTypeFromString($typeString, $className);
266-
}
267-
268262
}

src/Reflection/SignatureMap/Php8SignatureMapProvider.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,4 @@ private function findConstantType(string $className, string $constantName): ?Typ
499499
return null;
500500
}
501501

502-
public function getTypeFromString(string $typeString, ?string $className): Type
503-
{
504-
return $this->functionSignatureMapProvider->getTypeFromString($typeString, $className);
505-
}
506-
507502
}

0 commit comments

Comments
 (0)