Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi authored and github-actions[bot] committed Aug 11, 2024
1 parent 26885db commit 5f0daa6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

Expand Down
1 change: 0 additions & 1 deletion src/Models/PostScope.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public function scopePosts(Builder $query): Builder

/**
* @param Builder<Post> $query
* @param ?string $category
*/
public function scopeForCategory(Builder $query, ?string $category = null): Builder
{
Expand Down
2 changes: 1 addition & 1 deletion src/SkyPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f0daa6

Please sign in to comment.