Skip to content

Commit

Permalink
removes duplicated element in array
Browse files Browse the repository at this point in the history
  • Loading branch information
fain182 committed Feb 23, 2018
1 parent 466d657 commit ab02bd1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Idephix/Task/Parsing/TaskCollector.php
Expand Up @@ -61,7 +61,6 @@ private function convertFunctionToClosure(Node $functionNode, $closureName)
new Node\Expr\Variable($closureName),
new Node\Expr\Closure(
array(
'params' => $functionNode->params,
'stmts' => $functionNode->stmts,
'params' => $functionNode->params
)
Expand Down

0 comments on commit ab02bd1

Please sign in to comment.