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#4352 from neeckeloo/do…
Browse files Browse the repository at this point in the history
…c-blocks-consistency

Fix doc blocks consistency and coding standards PSR2

Conflicts:
	library/Zend/Barcode/Renderer/Pdf.php
	library/Zend/Mvc/Router/Http/Regex.php
	library/Zend/View/Helper/Navigation/Listener/AclListener.php
  • Loading branch information
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/Boolean.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function __construct($typeOrOptions = null, $casting = true, $translation
/**
* Set boolean types
*
* @param integer|array $type
* @param int|array $type
* @throws Exception\InvalidArgumentException
* @return bool
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Compress/Bz2.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct($options = null)
/**
* Returns the set blocksize
*
* @return integer
* @return int
*/
public function getBlocksize()
{
Expand All @@ -57,7 +57,7 @@ public function getBlocksize()
/**
* Sets a new blocksize
*
* @param integer $blocksize
* @param int $blocksize
* @throws Exception\InvalidArgumentException
* @return Bz2
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Compress/Gz.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function __construct($options = null)
/**
* Returns the set compression level
*
* @return integer
* @return int
*/
public function getLevel()
{
Expand All @@ -59,7 +59,7 @@ public function getLevel()
/**
* Sets a new compression level
*
* @param integer $level
* @param int $level
* @throws Exception\InvalidArgumentException
* @return Gz
*/
Expand Down
4 changes: 2 additions & 2 deletions src/File/RenameUpload.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function getUseUploadName()
*/
public function setUseUploadExtension($flag = true)
{
$this->options['use_upload_extension'] = (boolean) $flag;
$this->options['use_upload_extension'] = (bool) $flag;
return $this;
}

Expand Down Expand Up @@ -284,7 +284,7 @@ protected function getFinalTarget($uploadData)
* @param string $filename
* @return string
*/
protected function applyRandomToFilename($source,$filename)
protected function applyRandomToFilename($source, $filename)
{
$info = pathinfo($filename);
$filename = $info['filename'] . uniqid('_');
Expand Down
6 changes: 3 additions & 3 deletions src/HtmlEntities.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class HtmlEntities extends AbstractFilter
/**
* Corresponds to the second htmlentities() argument
*
* @var integer
* @var int
*/
protected $quoteStyle;

Expand Down Expand Up @@ -78,7 +78,7 @@ public function __construct($options = array())
/**
* Returns the quoteStyle option
*
* @return integer
* @return int
*/
public function getQuoteStyle()
{
Expand All @@ -88,7 +88,7 @@ public function getQuoteStyle()
/**
* Sets the quoteStyle option
*
* @param integer $quoteStyle
* @param int $quoteStyle
* @return HtmlEntities Provides a fluent interface
*/
public function setQuoteStyle($quoteStyle)
Expand Down
4 changes: 2 additions & 2 deletions src/Inflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ public function setRules(Array $rules)
*
* ex:
* array(
* ':controller' => array('CamelCaseToUnderscore','StringToLower'),
* ':action' => array('CamelCaseToUnderscore','StringToLower'),
* ':controller' => array('CamelCaseToUnderscore', 'StringToLower'),
* ':action' => array('CamelCaseToUnderscore', 'StringToLower'),
* 'suffix' => 'phtml'
* );
*
Expand Down
2 changes: 1 addition & 1 deletion src/Int.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Int extends AbstractFilter
* Returns (int) $value
*
* @param string $value
* @return integer
* @return int
*/
public function filter($value)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Null.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function __construct($typeOrOptions = null)
/**
* Set boolean types
*
* @param integer|array $type
* @param int|array $type
* @throws Exception\InvalidArgumentException
* @return bool
*/
Expand Down

0 comments on commit 79c2ac8

Please sign in to comment.