diff --git a/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-from-variable.php b/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-from-variable.php index 6f5588b..47b05ec 100644 --- a/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-from-variable.php +++ b/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-from-variable.php @@ -6,6 +6,6 @@ 'tree' ]); -$array->each(function ($item) { +$array->each(function ($item) { doAction($item); -}); +}); diff --git a/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-with-return.php b/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-with-return.php index 8d9aad3..50b275b 100644 --- a/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-with-return.php +++ b/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-with-return.php @@ -6,6 +6,6 @@ 'tree' ]; -collect($array)->each(function ($item) { +collect($array)->each(function ($item) { return doAction($item); -}); +}); diff --git a/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-with-uses.php b/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-with-uses.php index b05c44c..2920753 100644 --- a/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-with-uses.php +++ b/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function-with-uses.php @@ -8,6 +8,6 @@ $name = 'one'; -collect($array)->each(function ($item) use ($name) { +collect($array)->each(function ($item) use ($name) { doAction($item, $name); -}); +}); diff --git a/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function.php b/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function.php index f3b1919..e4f3417 100644 --- a/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function.php +++ b/src/test/resources/inspections/ClosureToArrowFunctionInspection/each-function-call-to-arrow-function.php @@ -6,6 +6,6 @@ 'tree' ]; -collect($array)->each(function ($item) { +collect($array)->each(function ($item) { doAction($item); -}); +});