mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
fix: replace blank() with null check on ReflectionClass
This commit is contained in:
@@ -130,7 +130,7 @@ trait EvaluatesClosures
|
||||
|
||||
$class = $parameter->getDeclaringClass();
|
||||
|
||||
if (blank($class)) {
|
||||
if (is_null($class)) {
|
||||
return $name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user