From 042fd58c58afbdf53416320114eac3169003cfe3 Mon Sep 17 00:00:00 2001 From: francoism90 Date: Tue, 30 Jul 2024 22:02:17 +0200 Subject: [PATCH] Allow null values --- src/Scout/Scout.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Scout/Scout.php b/src/Scout/Scout.php index 5496b46..050db1f 100644 --- a/src/Scout/Scout.php +++ b/src/Scout/Scout.php @@ -16,8 +16,8 @@ public function __construct( ) {} public static function create( - string $path, - string $namespace = 'App\\', + ?string $path = null, + ?string $namespace = 'App\\', ?string $prefix = null, ): static { return new static(