Skip to content

Commit b4395b2

Browse files
committed
check both lower and upper, not just the one (thanks phpstan!)
1 parent 96830fd commit b4395b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Php/ParseUrlFunctionDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private function createAllComponentsReturnType(bool $urlIsLowercase, bool $urlIs
135135
if ($urlIsLowercase && $urlIsUppercase) {
136136
if (
137137
$this->allComponentsTogetherTypeForLowercaseString === null
138-
&& $this->allComponentsTogetherTypeForLowercaseString === null
138+
&& $this->allComponentsTogetherTypeForUppercaseString === null
139139
) {
140140
$returnTypes = [
141141
new ConstantBooleanType(false),

0 commit comments

Comments
 (0)