mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Typehint fix
Fixed typehinting (for better php8.0 support). bool instead boolean
This commit is contained in:
+1
-1
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user