Skip to content

Commit 05ca031

Browse files
authored
Fix explode(): Passing null to parameter 2 warning (#1550)
1 parent ff664e4 commit 05ca031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelDebugbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ protected function addServerTimingHeaders(Response $response)
11641164
private function getRemoteServerReplacements()
11651165
{
11661166
$localPath = $this->app['config']->get('debugbar.local_sites_path') ?: base_path();
1167-
$remotePaths = array_filter(explode(',', $this->app['config']->get('debugbar.remote_sites_path', ''))) ?: [base_path()];
1167+
$remotePaths = array_filter(explode(',', $this->app['config']->get('debugbar.remote_sites_path') ?: '')) ?: [base_path()];
11681168

11691169
return array_fill_keys($remotePaths, $localPath);
11701170
}

0 commit comments

Comments
 (0)