Skip to content

Commit

Permalink
Merge pull request #457 from kiritokatklian/patch-1
Browse files Browse the repository at this point in the history
Revert "update to be compatible with nova 5"
  • Loading branch information
bkintanar authored Jan 5, 2025
2 parents d4fd3eb + 558ce12 commit c38c526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fields/Media.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ private function removeDeletedMedia($data, Collection $medias): Collection
* @param HasMedia|InteractsWithMedia $resource
* @param null $attribute
*/
public function resolve($resource, ?string $attribute = null): void
public function resolve($resource, $attribute = null): void
{
$collectionName = $attribute ?? $this->attribute;

Expand Down

0 comments on commit c38c526

Please sign in to comment.