We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0087cd2 commit 2ed4fb7Copy full SHA for 2ed4fb7
src/Type/Accessory/AccessoryLowercaseStringType.php
@@ -116,8 +116,8 @@ public function isSubTypeOfWithReason(Type $otherType): IsSuperTypeOfResult
116
return (new IsSuperTypeOfResult(
117
$isLowercase,
118
$otherType->isString()->yes() && $isLowercase->no()
119
- ? [sprintf("%s is not lowercase.", $otherType->describe(VerbosityLevel::value()))]
120
- : []
+ ? [sprintf('%s is not lowercase.', $otherType->describe(VerbosityLevel::value()))]
+ : [],
121
))
122
->and($otherType instanceof self ? IsSuperTypeOfResult::createYes() : IsSuperTypeOfResult::createMaybe());
123
}
0 commit comments