From 0c8d7c825b59103121227c591c43276062b1f8ef Mon Sep 17 00:00:00 2001 From: freekmurze <freekmurze@users.noreply.github.com> Date: Sun, 10 Jan 2021 20:25:52 +0000 Subject: [PATCH] Fix styling --- src/OriginFactory.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/OriginFactory.php b/src/OriginFactory.php index c908aae..45c207c 100644 --- a/src/OriginFactory.php +++ b/src/OriginFactory.php @@ -61,7 +61,7 @@ protected function getFrame(): ?Frame $originFrame = $frames[$indexOfRay + $framesAbove] ?? null; } - if (!$rayFrame) { + if (! $rayFrame) { return null; } @@ -100,7 +100,7 @@ protected function findFrameForCollectionMacro(Collection $frames, int $indexOfF protected function findFrameForQuery(Collection $frames): ?Frame { $indexOfLastDatabaseCall = $frames - ->search(fn(Frame $frame) => Str::startsWith($frame->class, 'Illuminate\Database')); + ->search(fn (Frame $frame) => Str::startsWith($frame->class, 'Illuminate\Database')); return $frames[$indexOfLastDatabaseCall + 1] ?? null; } @@ -109,7 +109,7 @@ protected function findFrameForDump(Collection $frames): ?Frame { $indexOfDumpCall = $frames ->search(function (Frame $frame) { - if (!is_null($frame->class)) { + if (! is_null($frame->class)) { return false; } @@ -168,7 +168,7 @@ protected function findFrameForLog(Collection $frames, int $indexOfLoggerCall): protected function replaceCompiledViewPathWithOriginalViewPath(Frame $frame): Frame { - if (!file_exists($frame->file)) { + if (! file_exists($frame->file)) { return $frame; } @@ -176,7 +176,7 @@ protected function replaceCompiledViewPathWithOriginalViewPath(Frame $frame): Fr $originalViewPath = trim(Str::between($fileContents, '/**PATH', 'ENDPATH**/')); - if (!file_exists($originalViewPath)) { + if (! file_exists($originalViewPath)) { return $frame; }