Skip to content

Commit

Permalink
fix: union type bug in php7
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmanders committed Jul 30, 2024
1 parent 47701de commit 6e6d987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MediaAlly.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function fetchFirstMedia()
* @param Media|Collection|null $media
* @return void
*/
public function detachMedia(Media|Collection $media = null)
public function detachMedia(mixed $media = null)
{

if (is_null($media)) {
Expand Down

0 comments on commit 6e6d987

Please sign in to comment.