Skip to content

Commit

Permalink
Merge branch '3.x' of github.com:lara-zeus/sky into 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Jul 25, 2023
2 parents fc5e43f + b818828 commit 136dce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function parent(): BelongsTo
return $this->belongsTo(self::class, 'parent_id', 'id');
}

public function image(): Collection|string|null
public function image(): Collection | string | null
{
if (! $this->getMedia('posts')->isEmpty()) {
return $this->getFirstMediaUrl('posts');
Expand Down

0 comments on commit 136dce2

Please sign in to comment.