Skip to content

Commit c38c526

Browse files
authored
Merge pull request #457 from kiritokatklian/patch-1
Revert "update to be compatible with nova 5"
2 parents d4fd3eb + 558ce12 commit c38c526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fields/Media.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ private function removeDeletedMedia($data, Collection $medias): Collection
287287
* @param HasMedia|InteractsWithMedia $resource
288288
* @param null $attribute
289289
*/
290-
public function resolve($resource, ?string $attribute = null): void
290+
public function resolve($resource, $attribute = null): void
291291
{
292292
$collectionName = $attribute ?? $this->attribute;
293293

0 commit comments

Comments
 (0)