Skip to content

Commit 8cae413

Browse files
committed
Fix: resolve phpstan error with get() in plugin class.
1 parent a1fdfab commit 8cae413

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/SkeletonPlugin.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ public static function make(): static
2929

3030
public static function get(): static
3131
{
32-
return filament(app(static::class)->getId());
32+
/** @var static $plugin */
33+
$plugin = filament(app(static::class)->getId());
34+
35+
return $plugin;
3336
}
3437
}

0 commit comments

Comments
 (0)