Skip to content

Commit

Permalink
Update Daemon.php
Browse files Browse the repository at this point in the history
  • Loading branch information
esokullu authored Mar 13, 2018
1 parent 1ea02b8 commit b649e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pho/Server/Rest/Daemon.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function setFormableNodes(array $pairs): void

protected function initControllers(string $base = __DIR__, bool $jsonp = false): void
{
$build = function(array $classes): void
$build = function(array $classes) use ($jsonp): void
{
foreach($classes as $class) {
$ref = new \ReflectionClass($class);
Expand Down

0 comments on commit b649e1c

Please sign in to comment.