From 7eb0a50e73e0bc707fce30fc7430cb0742ed160b Mon Sep 17 00:00:00 2001 From: a-komarev Date: Fri, 15 Dec 2017 05:46:24 +0300 Subject: [PATCH] Code style fixes --- config/whoops-editor.php | 2 +- src/Providers/WhoopsEditorServiceProvider.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }