Skip to content

Commit

Permalink
Merge pull request #44 from SebastianSchoeps/patch-1
Browse files Browse the repository at this point in the history
Quick fix for PHP8 compatibility
  • Loading branch information
weotch authored Dec 15, 2020
2 parents d47d92c + dbc7ac7 commit e56d2c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cloner.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected function duplicateAttachments($model, $clone) {
* @param boolean $child
* @return void
*/
protected function dispatchOnCloningEvent($clone, $relation = null, $src, $child = null)
protected function dispatchOnCloningEvent($clone, $relation = null, $src = null, $child = null)
{
// Set the child flag
if ($relation) $child = true;
Expand Down

0 comments on commit e56d2c3

Please sign in to comment.