diff --git a/app/Console/Commands/Plugin/Plugin.stub b/app/Console/Commands/Plugin/Plugin.stub index 79ce24959..ab6ba7233 100644 --- a/app/Console/Commands/Plugin/Plugin.stub +++ b/app/Console/Commands/Plugin/Plugin.stub @@ -22,17 +22,4 @@ class $class$ implements Plugin { // Is run only when the panel that the plugin is being registered to is actually in-use. It is executed by a middleware class. } - - public static function make(): static - { - return app(static::class); - } - - public static function get(): static - { - /** @var static $plugin */ - $plugin = filament(app(static::class)->getId()); - - return $plugin; - } }