Skip to content

Commit

Permalink
Add support for Closure types when calling debug()
Browse files Browse the repository at this point in the history
  • Loading branch information
cbornhoft committed Feb 22, 2021
1 parent b21e1f0 commit 90048d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Queries/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,8 @@ private function debug()
echo $finalString;
}
} else {
$this->fluent->debug($this);
$debug = $this->fluent->debug;
$debug($this);
}
}
}
Expand Down

0 comments on commit 90048d9

Please sign in to comment.