diff --git a/config/whoops-editor.php b/config/whoops-editor.php index 3c93ab7..bce7ac2 100644 --- a/config/whoops-editor.php +++ b/config/whoops-editor.php @@ -67,4 +67,4 @@ */ 'homestead-projects-path' => '/home/vagrant/projects', -]; \ No newline at end of file +]; diff --git a/src/Providers/WhoopsEditorServiceProvider.php b/src/Providers/WhoopsEditorServiceProvider.php index 83bb93b..5483358 100644 --- a/src/Providers/WhoopsEditorServiceProvider.php +++ b/src/Providers/WhoopsEditorServiceProvider.php @@ -109,8 +109,8 @@ protected function overwriteConfig(): void */ private function buildUri(string $uri, string $filePath, int $line): string { - $uri = str_replace("%file", $filePath, $uri); - $uri = str_replace("%line", $line, $uri); + $uri = str_replace('%file', $filePath, $uri); + $uri = str_replace('%line', $line, $uri); return $uri; }