Skip to content

Commit

Permalink
support Octane (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid authored Apr 9, 2021
1 parent cb7f790 commit f6a3ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DumpRecorder/DumpRecorder.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ protected function getDumper()
return new CliDumper();
}

if (in_array(PHP_SAPI, ['cli', 'phpdbg'])) {
if (in_array(PHP_SAPI, ['cli', 'phpdbg']) && ! isset($_SERVER['LARAVEL_OCTANE'])) {
return new CliDumper() ;
}

Expand Down

0 comments on commit f6a3ca6

Please sign in to comment.