From 16bd7dd999dca9bb9404b4c4dcdcaa280ed22c90 Mon Sep 17 00:00:00 2001 From: Roman Date: Fri, 4 Dec 2020 14:48:30 +0300 Subject: [PATCH] Typehint fix Fixed typehinting (for better php8.0 support). bool instead boolean --- src/Filament.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filament.php b/src/Filament.php index 7861f1a82e..9e9d9643e3 100644 --- a/src/Filament.php +++ b/src/Filament.php @@ -61,7 +61,7 @@ class Filament return $this->basePath('dist/'.ltrim($path, '/')); } - public function handling(): boolean + public function handling(): bool { return preg_match('#^'.config('filament.prefix.route').'($|/)'.'#i', Request::path()); }