Skip to content

Commit 90bc06d

Browse files
committed
Update ArrowFunction component
1 parent 8079f15 commit 90bc06d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ArrowFunction.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ArrowFunction extends AbstractFunction
1212
public function __construct($expression = '', string $returnType = '')
1313
{
1414
$this->signature = new Signature('', Modifier::NONE, $returnType, 'fn');
15-
$this->expression = $this->manageDependency($expression);
15+
$this->expression = $this->manageExprDependency($expression);
1616

1717
$this->dependencyAwareChildren[] = $this->signature;
1818
}
@@ -40,12 +40,12 @@ public function getExpression()
4040
*/
4141
public function setExpression($expression): self
4242
{
43-
$this->expression = $this->manageDependency($expression);
43+
$this->expression = $this->manageExprDependency($expression);
4444

4545
return $this;
4646
}
4747

48-
protected function manageDependency($value)
48+
protected function manageExprDependency($value)
4949
{
5050
if ($value instanceof DependencyAwareGenerator) {
5151
$this->dependencyAwareChildren['expr'] = $value;

0 commit comments

Comments
 (0)