We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da3554e commit 5d07949Copy full SHA for 5d07949
src/Type/Type.php
@@ -64,13 +64,6 @@ public function getConstantArrays(): array;
64
/** @return list<ConstantStringType> */
65
public function getConstantStrings(): array;
66
67
- /**
68
- * This is like accepts() but gives reasons
69
- * why the type was not/might not be accepted in some non-intuitive scenarios.
70
- *
71
- * In PHPStan 2.0 this method will be removed and the return type of accepts()
72
- * will change to AcceptsResult.
73
- */
74
public function accepts(Type $type, bool $strictTypes): AcceptsResult;
75
76
public function isSuperTypeOf(Type $type): IsSuperTypeOfResult;
0 commit comments