diff --git a/src/Arguments/Reducers/MinimalArrayArgumentReducer.php b/src/Arguments/Reducers/MinimalArrayArgumentReducer.php index 1c35c6b..b582d89 100644 --- a/src/Arguments/Reducers/MinimalArrayArgumentReducer.php +++ b/src/Arguments/Reducers/MinimalArrayArgumentReducer.php @@ -10,7 +10,7 @@ class MinimalArrayArgumentReducer implements ArgumentReducer { public function execute($argument): ReducedArgumentContract { - if(! is_array($argument)) { + if (! is_array($argument)) { return UnReducedArgument::create(); } diff --git a/src/Arguments/Reducers/SymphonyRequestArgumentReducer.php b/src/Arguments/Reducers/SymphonyRequestArgumentReducer.php index 7c46bee..baa932f 100644 --- a/src/Arguments/Reducers/SymphonyRequestArgumentReducer.php +++ b/src/Arguments/Reducers/SymphonyRequestArgumentReducer.php @@ -11,7 +11,7 @@ class SymphonyRequestArgumentReducer implements ArgumentReducer { public function execute($argument): ReducedArgumentContract { - if(! $argument instanceof Request) { + if (! $argument instanceof Request) { return UnReducedArgument::create(); } diff --git a/src/Frame.php b/src/Frame.php index 7bf3e54..b37f43c 100644 --- a/src/Frame.php +++ b/src/Frame.php @@ -91,11 +91,11 @@ public function getSnippetProperties(int $lineCount): array protected function getCodeSnippetProvider(): SnippetProvider { - if($this->textSnippet) { + if ($this->textSnippet) { return new LaravelSerializableClosureSnippetProvider($this->textSnippet); } - if(file_exists($this->file)) { + if (file_exists($this->file)) { return new FileSnippetProvider($this->file); } diff --git a/tests/BacktraceTest.php b/tests/BacktraceTest.php index 1585c25..ad9b0ff 100644 --- a/tests/BacktraceTest.php +++ b/tests/BacktraceTest.php @@ -315,5 +315,4 @@ public function it_does_not_trim_file_path_if_no_application_path_set() { $this->assertNull(Backtrace::create()->trimFilePaths()->frames()[0]->trimmedFilePath); } - }