Skip to content

Commit 5d07949

Browse files
AJenboondrejmirtes
authored andcommitted
Remove incorrect doc leftover from 1.x
1 parent da3554e commit 5d07949

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Type/Type.php

-7
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,6 @@ public function getConstantArrays(): array;
6464
/** @return list<ConstantStringType> */
6565
public function getConstantStrings(): array;
6666

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-
*/
7467
public function accepts(Type $type, bool $strictTypes): AcceptsResult;
7568

7669
public function isSuperTypeOf(Type $type): IsSuperTypeOfResult;

0 commit comments

Comments
 (0)