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 68817de commit e4cad70Copy full SHA for e4cad70
src/Analyser/TypeSpecifier.php
@@ -1954,11 +1954,11 @@ private function createSpecifierContextReturnType(
1954
TypeSpecifierContext $context,
1955
): TypeSpecifierContext
1956
{
1957
- if ($context->true()) {
1958
- return TypeSpecifierContext::createTrue($contextReturnType);
1959
- } elseif ($context->false()) {
1960
- return TypeSpecifierContext::createFalse($contextReturnType);
1961
- }
+ if ($context->true()) {
+ return TypeSpecifierContext::createTrue($contextReturnType);
+ } elseif ($context->false()) {
+ return TypeSpecifierContext::createFalse($contextReturnType);
+ }
1962
1963
return $context;
1964
}
0 commit comments