Skip to content
This repository has been archived by the owner on Jan 29, 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 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/AbstractAdapter.php
Expand Up @@ -79,10 +79,10 @@ public function setOption($key, $value)
return $this;
}

$method = 'set' . ucfirst ($key);
if (method_exists ($this, $method)) {
$method = 'set' . ucfirst($key);
if (method_exists($this, $method)) {
// Setter exists; use it
$this->$method ($value);
$this->$method($value);
$this->options[$key] = $value;
} elseif (property_exists($this, $key)) {
// Assume it's metadata
Expand Down
8 changes: 4 additions & 4 deletions src/AbstractWord.php
Expand Up @@ -73,7 +73,7 @@ abstract class AbstractWord extends AbstractAdapter
/**
* Session lifetime for the captcha data
*
* @var integer
* @var int
*/
protected $timeout = 300;

Expand Down Expand Up @@ -105,7 +105,7 @@ abstract class AbstractWord extends AbstractAdapter
/**
* Length of the word to generate
*
* @var integer
* @var int
*/
protected $wordlen = 8;

Expand Down Expand Up @@ -134,7 +134,7 @@ public function setSessionClass($sessionClass)
/**
* Retrieve word length to use when generating captcha
*
* @return integer
* @return int
*/
public function getWordlen()
{
Expand All @@ -144,7 +144,7 @@ public function getWordlen()
/**
* Set word length of captcha
*
* @param integer $wordlen
* @param int $wordlen
* @return AbstractWord
*/
public function setWordlen($wordlen)
Expand Down

0 comments on commit 79e532c

Please sign in to comment.