mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-26 12:04:39 +01:00
Fixed ArrowFunction::$expr
This commit is contained in:
parent
f6e1fbf3a2
commit
8da6d7ac62
@ -42,7 +42,7 @@ class ArrowFunction extends Expr implements FunctionLike
|
||||
$this->params = $subNodes['params'] ?? [];
|
||||
$returnType = $subNodes['returnType'] ?? null;
|
||||
$this->returnType = \is_string($returnType) ? new Node\Identifier($returnType) : $returnType;
|
||||
$this->expr = $subNodes['expr'] ?? null;
|
||||
$this->expr = $subNodes['expr'];
|
||||
$this->attrGroups = $subNodes['attrGroups'] ?? [];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user