From 1a838fdc583890c2427f2de1a5c875049ef7c388 Mon Sep 17 00:00:00 2001 From: AlexVanderbist Date: Mon, 8 Mar 2021 13:55:13 +0000 Subject: [PATCH] Fix styling --- src/Solutions/MakeViewVariableOptionalSolution.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Solutions/MakeViewVariableOptionalSolution.php b/src/Solutions/MakeViewVariableOptionalSolution.php index f33b650d..9a1dd2e0 100644 --- a/src/Solutions/MakeViewVariableOptionalSolution.php +++ b/src/Solutions/MakeViewVariableOptionalSolution.php @@ -73,7 +73,7 @@ public function run(array $parameters = []) public function makeOptional(array $parameters = []) { - if (!$this->isSafePath($parameters['viewFile'])) { + if (! $this->isSafePath($parameters['viewFile'])) { return false; } @@ -94,11 +94,11 @@ public function makeOptional(array $parameters = []) protected function isSafePath(string $path): bool { - if (!Str::startsWith($path, ['/', './'])) { + if (! Str::startsWith($path, ['/', './'])) { return false; } - if (!Str::endsWith($path, '.blade.php')) { + if (! Str::endsWith($path, '.blade.php')) { return false; }