Skip to content

Commit

Permalink
Merge branch 'feature/fn-closure-function-declaration-arg-spacing' of h…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Nov 29, 2019
2 parents d6025fa + 62ae7e7 commit 0676055
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public function register()
return [
T_FUNCTION,
T_CLOSURE,
T_FN,
];

}//end register()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@ $a = function ($var1, $var2=false) use (
$longVar2 , &$longerVar2,
$muchLongerVar3
) {};

fn ($a,$b = null) => $a($b);
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@ $a = function ($var1, $var2=false) use (
$longVar2, &$longerVar2,
$muchLongerVar3
) {};

fn ($a, $b=null) => $a($b);
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function getErrorList()
102 => 2,
106 => 1,
107 => 2,
111 => 3,
];

}//end getErrorList()
Expand Down

0 comments on commit 0676055

Please sign in to comment.