Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvenga committed May 17, 2023
1 parent fca8203 commit 327f588
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Fields/MediaLibrary.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ public function save(Model $item): Model
return $item;
}

public function hasManyOrOneSave($hiddenKey, array $values = []): array
{
return $values;
}

public function afterSave(Model $item): void
{
if ($this->isCanSave()) {
Expand Down

0 comments on commit 327f588

Please sign in to comment.