Skip to content

Commit

Permalink
fix callback call
Browse files Browse the repository at this point in the history
  • Loading branch information
Sina sharifzade committed Jan 22, 2016
1 parent 5587c48 commit 1b43e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CallbackStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function getContents()
{
$callback = $this->detach();

return $callback ? $callback() : '';
return $callback ? call_user_fanc($callback) : '';
}

/**
Expand Down

0 comments on commit 1b43e4d

Please sign in to comment.