Skip to content

Commit

Permalink
Merge pull request #126 from scoutapp/fixing-failure-to-report-dashboard
Browse files Browse the repository at this point in the history
Fixing bug where data is not being displayed from Laravel app
  • Loading branch information
Chris Schneider committed Dec 4, 2019
2 parents a3346e9 + 8a15cdb commit 6b070c7
Showing 1 changed file with 3 additions and 2 deletions.
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;
}
);
));
}
}

0 comments on commit 6b070c7

Please sign in to comment.