Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/Type/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ public function getConstantArrays(): array;
/** @return list<ConstantStringType> */
public function getConstantStrings(): array;

/**
* This is like accepts() but gives reasons
* why the type was not/might not be accepted in some non-intuitive scenarios.
*
* In PHPStan 2.0 this method will be removed and the return type of accepts()
* will change to AcceptsResult.
*/
public function accepts(Type $type, bool $strictTypes): AcceptsResult;

public function isSuperTypeOf(Type $type): IsSuperTypeOfResult;
Expand Down
Loading