Skip to content

Commit

Permalink
Fixes #9
Browse files Browse the repository at this point in the history
  • Loading branch information
robregonm committed Jan 15, 2015
1 parent 191c0b2 commit 0702997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PdfResponseFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function formatPdf($response)
$mpdf->$key = $option;
}

if ($this->beforeRender instanceof Closure) {
if ($this->beforeRender instanceof \Closure) {
call_user_func($this->beforeRender, $mpdf, $response->data);
}

Expand Down

0 comments on commit 0702997

Please sign in to comment.