Detailed description
Because of extending Illuminate\Support package, function array_flatten() cannot be overwritten after composer autoload
Make it clear if the issue is a bug, an enhancement or just a question.
Context
$depth in Illuminate\Support\Arr::flatten() and in Larapulse\Support\Handlers\App::flatten() works in different ways
Possible implementation
Somehow manually overwrite already defined function, or disable import Illuminate\Support package. Also possible to rename array_flatten()
Detailed description
Because of extending
Illuminate\Supportpackage, functionarray_flatten()cannot be overwritten after composer autoloadMake it clear if the issue is a bug, an enhancement or just a question.
Context
$depthinIlluminate\Support\Arr::flatten()and inLarapulse\Support\Handlers\App::flatten()works in different waysPossible implementation
Somehow manually overwrite already defined function, or disable import
Illuminate\Supportpackage. Also possible to renamearray_flatten()