Skip to content

Commit

Permalink
Merge pull request zendframework#139 from n0o0bSina/master
Browse files Browse the repository at this point in the history
fix callback call
  • Loading branch information
weierophinney committed Mar 17, 2016
2 parents d03fa37 + 1b43e4d commit c9d1598
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 c9d1598

Please sign in to comment.