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

Commit

Permalink
Merge pull request #7489 from ASvi/phpDoc-fixes
Browse files Browse the repository at this point in the history
Updated phpDoc and removed duplicates
  • Loading branch information
weierophinney committed May 7, 2015
2 parents ecf9b1d + 74341c5 commit 97d0046
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 5 deletions.
2 changes: 2 additions & 0 deletions library/Zend/Session/Validator/RemoteAddr.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ class RemoteAddr implements SessionValidator
/**
* Constructor
* get the current user IP and store it in the session as 'valid data'
*
* @param null|string $data
*/
public function __construct($data = null)
{
Expand Down
4 changes: 3 additions & 1 deletion library/Zend/Soap/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,9 @@ protected function _initializeSoapErrorContext()
/**
* Set the debug mode.
* In debug mode, all exceptions are send to the client.
* @param bool $debug
*
* @param bool $debug
* @return self
*/
public function setDebugMode($debug)
{
Expand Down
3 changes: 2 additions & 1 deletion library/Zend/Soap/Wsdl.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,10 @@ public function getClassMap()
/**
* Set the class map of php to wsdl mappings..
*
* @param array $classMap
* @return self
*/
public function setClassMap($classMap)
public function setClassMap(array $classMap)
{
$this->classMap = $classMap;
return $this;
Expand Down
2 changes: 2 additions & 0 deletions library/Zend/Stdlib/Hydrator/Filter/FilterComposite.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class FilterComposite implements FilterInterface
/**
* Define default Filter
*
* @param array $orFilter
* @param array $andFilter
* @throws InvalidArgumentException
*/
public function __construct($orFilter = array(), $andFilter = array())
Expand Down
6 changes: 6 additions & 0 deletions library/Zend/Tag/Cloud/Decorator/AbstractDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ protected function validateAttributeName($name)
}
}

/**
* Wrap html with tag
*
* @param string $html
* @return string
*/
protected function wrapTag($html)
{
$escaper = $this->getEscaper();
Expand Down
1 change: 0 additions & 1 deletion library/Zend/Validator/ValidatorPluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ class ValidatorPluginManager extends AbstractPluginManager
'isfloat' => 'Zend\I18n\Validator\IsFloat',
'isinstanceof' => 'Zend\Validator\IsInstanceOf',
'isint' => 'Zend\I18n\Validator\IsInt',
'ip' => 'Zend\Validator\Ip',
'lessthan' => 'Zend\Validator\LessThan',
'notempty' => 'Zend\Validator\NotEmpty',
'phonenumber' => 'Zend\I18n\Validator\PhoneNumber',
Expand Down
5 changes: 3 additions & 2 deletions library/Zend/View/Helper/FlashMessenger.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,9 @@ public function render($namespace = PluginFlashMessenger::NAMESPACE_DEFAULT, arr
/**
* Render Current Messages
*
* @param string $namespace
* @param array $classes
* @param string $namespace
* @param array $classes
* @param bool|null $autoEscape
* @return string
*/
public function renderCurrent($namespace = PluginFlashMessenger::NAMESPACE_DEFAULT, array $classes = array(), $autoEscape = null)
Expand Down
2 changes: 2 additions & 0 deletions library/Zend/XmlRpc/Fault.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ class Fault
/**
* Constructor
*
* @param int $code
* @param string $message
*/
public function __construct($code = 404, $message = '')
{
Expand Down
3 changes: 3 additions & 0 deletions library/Zend/XmlRpc/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,9 @@ public function getSystem()
* how to handle arguments. If set to true, all methods including constructor
* will receive the arguments. If set to false, only constructor will receive the
* arguments
*
* @param bool|null $flag
* @return self
*/
public function sendArgumentsToAllMethods($flag = null)
{
Expand Down

0 comments on commit 97d0046

Please sign in to comment.