Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing bug where data is not being displayed from Laravel app #126

Merged
merged 1 commit into from Dec 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/Helper/Backtrace.php
Expand Up @@ -8,6 +8,7 @@
use function array_filter;
use function array_key_exists;
use function array_slice;
use function array_values;
use function debug_backtrace;
use function strpos;

Expand Down Expand Up @@ -76,7 +77,7 @@ private static function filterScoutRelatedFramesFromTopOfStack(array $formattedS
{
$stillInsideScout = true;

return array_filter(
return array_values(array_filter(
$formattedStack,
static function (array $frame) use (&$stillInsideScout) : bool {
if (! $stillInsideScout) {
Expand All @@ -91,6 +92,6 @@ static function (array $frame) use (&$stillInsideScout) : bool {

return true;
}
);
));
}
}