Skip to content

Commit c008e03

Browse files
committed
Merge branch 2.1.x into 2.2.x
2 parents f65e1e5 + 0183699 commit c008e03

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/Type/Accessory/AccessoryNumericStringType.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,6 @@ public function isSubTypeOf(Type $otherType): IsSuperTypeOfResult
111111

112112
public function isAcceptedBy(Type $acceptingType, bool $strictTypes): AcceptsResult
113113
{
114-
if ($acceptingType->isNonFalsyString()->yes()) {
115-
return AcceptsResult::createMaybe();
116-
}
117-
118-
if ($acceptingType->isNonEmptyString()->yes()) {
119-
return AcceptsResult::createYes();
120-
}
121-
122114
return $this->isSubTypeOf($acceptingType)->toAcceptsResult();
123115
}
124116

0 commit comments

Comments
 (0)