Typehint fix

Fixed typehinting (for better php8.0 support).
bool instead boolean
This commit is contained in:
Roman
2020-12-04 14:48:30 +03:00
committed by GitHub
parent 9754bb059b
commit 16bd7dd999
+1 -1
View File
@@ -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());
}