We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7859ab8 commit 0183699Copy full SHA for 0183699
1 file changed
src/Type/Accessory/AccessoryNumericStringType.php
@@ -111,14 +111,6 @@ public function isSubTypeOf(Type $otherType): IsSuperTypeOfResult
111
112
public function isAcceptedBy(Type $acceptingType, bool $strictTypes): AcceptsResult
113
{
114
- if ($acceptingType->isNonFalsyString()->yes()) {
115
- return AcceptsResult::createMaybe();
116
- }
117
-
118
- if ($acceptingType->isNonEmptyString()->yes()) {
119
- return AcceptsResult::createYes();
120
121
122
return $this->isSubTypeOf($acceptingType)->toAcceptsResult();
123
}
124
0 commit comments