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

Commit

Permalink
Merge pull request zendframework/zendframework#4098 from samsonasik/f…
Browse files Browse the repository at this point in the history
…ix/docblock.bool

fix php docblock : boolean should be bool

Conflicts:
	library/Zend/Filter/File/RenameUpload.php
	library/Zend/Mvc/Controller/Plugin/FilePostRedirectGet.php
	library/Zend/Mvc/Controller/Plugin/FlashMessenger.php
	library/Zend/Mvc/Controller/Plugin/PostRedirectGet.php
	library/Zend/Mvc/Router/SimpleRouteStack.php
  • Loading branch information
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/FileInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@
class FileInput extends Input
{
/**
* @var boolean
* @var bool
*/
protected $isValid = false;

/**
* @var boolean
* @var bool
*/
protected $autoPrependUploadValidator = true;

/**
* @param boolean $value Enable/Disable automatically prepending an Upload validator
* @param bool $value Enable/Disable automatically prepending an Upload validator
* @return FileInput
*/
public function setAutoPrependUploadValidator($value)
Expand All @@ -48,7 +48,7 @@ public function setAutoPrependUploadValidator($value)
}

/**
* @return boolean
* @return bool
*/
public function getAutoPrependUploadValidator()
{
Expand Down Expand Up @@ -85,7 +85,7 @@ public function getValue()

/**
* @param mixed $context Extra "context" to provide the validator
* @return boolean
* @return bool
*/
public function isValid($context = null)
{
Expand Down

0 comments on commit b747ea5

Please sign in to comment.