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

Commit

Permalink
ZF-6996: fix parameter description hinting in Zend_Json_Server
Browse files Browse the repository at this point in the history
git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20636 44c647ce-9c0f-0410-b52a-842ac1e357ba
  • Loading branch information
matthew committed Jan 25, 2010
1 parent 0f218d1 commit 83975c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reflection/Function/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ protected function _buildSignatures($return, $returnDesc, $paramTypes, $paramDes
$return = new Zend_Server_Reflection_ReturnValue(array_shift($signature), $this->_returnDesc);
$tmp = array();
foreach ($signature as $key => $type) {
$param = new Zend_Server_Reflection_Parameter($params[$key], $type, $this->_paramDesc[$key]);
$param = new Zend_Server_Reflection_Parameter($params[$key], $type, (isset($this->_paramDesc[$key]) ? $this->_paramDesc[$key] : null));
$param->setPosition($key);
$tmp[] = $param;
}
Expand Down

0 comments on commit 83975c8

Please # to comment.