Skip to content

Commit f109d1d

Browse files
kukulichondrejmirtes
authored andcommitted
Typo in ConditionalTypeForParameterNode
1 parent 45df6a5 commit f109d1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Ast/Type/ConditionalTypeForParameterNode.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ class ConditionalTypeForParameterNode implements TypeNode
2525
/** @var bool */
2626
public $negated;
2727

28-
public function __construct(string $parameterName, TypeNode $targetType, TypeNode $if, TypeNode $false, bool $negated)
28+
public function __construct(string $parameterName, TypeNode $targetType, TypeNode $if, TypeNode $else, bool $negated)
2929
{
3030
$this->parameterName = $parameterName;
3131
$this->targetType = $targetType;
3232
$this->if = $if;
33-
$this->else = $false;
33+
$this->else = $else;
3434
$this->negated = $negated;
3535
}
3636

0 commit comments

Comments
 (0)