fix phpstan

This commit is contained in:
wychoong
2023-10-26 21:31:03 +08:00
parent 7b4e95feaa
commit 07d0edbf17
+1 -1
View File
@@ -89,7 +89,7 @@ class Notification extends ViewComponent implements Arrayable
{
$static = static::make($data['id'] ?? Str::random());
if (is_subclass_of($static, self::class) && get_called_class() === self::class) {
if (is_subclass_of($static::class, self::class) && get_called_class() === self::class) {
$static = $static::fromArray($data);
}