Skip to content

Commit

Permalink
Removed unnecessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mtymek committed Nov 18, 2011
1 parent ff5af91 commit 1745692
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions library/Zend/Json/Server/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -529,14 +529,12 @@ protected function _handle()
$callback = $invocable->getCallback();
if ('function' == $callback->getType()) {
$reflection = new \ReflectionFunction( $callback->getFunction() );
$refParams = $reflection->getParameters();
} else {

$reflection = new \ReflectionMethod(
$callback->getClass(),
$callback->getMethod()
);
$refParams = $reflection->getParameters();
}

$orderedParams = array();
Expand Down

0 comments on commit 1745692

Please sign in to comment.