Skip to content

Commit

Permalink
Update HasMediaFiles.php
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 28, 2024
1 parent 22cd1a6 commit 8a622da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ trait HasMediaFiles
*/
public function assets(): array
{
return $this->assets ??= MediaFile::all();
return $this->assets ??= static::discoverMediaFiles();
}

protected static function discoverMediaFiles(): array
Expand Down

0 comments on commit 8a622da

Please sign in to comment.