diff --git a/src/Configuration.php b/src/Configuration.php index b89409d..dd77c03 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -87,7 +87,7 @@ public static function getModel(string $model): string { return array_merge( config('zeus-sky.models'), - (new static())::get()->getSkyModels() + (new static)::get()->getSkyModels() )[$model]; } diff --git a/src/Models/PostScope.php b/src/Models/PostScope.php index 8b6c552..8ce085a 100644 --- a/src/Models/PostScope.php +++ b/src/Models/PostScope.php @@ -65,7 +65,6 @@ public function scopePosts(Builder $query): Builder /** * @param Builder $query - * @param ?string $category */ public function scopeForCategory(Builder $query, ?string $category = null): Builder { diff --git a/src/SkyPlugin.php b/src/SkyPlugin.php index abffd63..d6b1cc5 100644 --- a/src/SkyPlugin.php +++ b/src/SkyPlugin.php @@ -51,7 +51,7 @@ public function register(Panel $panel): void public static function make(): static { - return new self(); + return new self; } public static function get(): static