From 327f588f1badccd513a2775dae3004f0f75b1691 Mon Sep 17 00:00:00 2001 From: alexvenga Date: Wed, 17 May 2023 22:46:59 +0300 Subject: [PATCH] Small fix --- src/Fields/MediaLibrary.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Fields/MediaLibrary.php b/src/Fields/MediaLibrary.php index 53c5702..efe5929 100644 --- a/src/Fields/MediaLibrary.php +++ b/src/Fields/MediaLibrary.php @@ -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()) {