Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Merge branch 'bugfixes' of https://github.com/insekticid/zf2 into hot…
Browse files Browse the repository at this point in the history
…fix/gh-215
  • Loading branch information
weierophinney committed Jul 13, 2011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public function addFunction($function, $namespace = '')
if (!is_string($func) || !function_exists($func)) {
throw new Server\Exception\InvalidArgumentException('Unable to attach function; invalid', 611);
}
$reflection = Reflection\Reflection::reflectFunction($func, $argv, $namespace);
$reflection = Reflection::reflectFunction($func, $argv, $namespace);
$this->_buildSignature($reflection);
}
}
Expand Down Expand Up @@ -244,7 +244,7 @@ public function setClass($class, $namespace = '', $argv = null)
$argv = array_slice($argv, 2);
}

$dispatchable = Reflection\Reflection::reflectClass($class, $argv, $namespace);
$dispatchable = Reflection::reflectClass($class, $argv, $namespace);
foreach ($dispatchable->getMethods() as $reflection) {
$this->_buildSignature($reflection, $class);
}
Expand Down

0 comments on commit e437584

Please # to comment.