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

Commit

Permalink
Merge branch 'feature/phpdoc-mismatch' of https://github.com/micheh/zf2
Browse files Browse the repository at this point in the history
… into hotfix/phpdoc
  • Loading branch information
weierophinney committed Sep 10, 2012
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public function setOption($key, $value)
* Set object state from options array
*
* @param array|Traversable $options
* @throws Exception\InvalidArgumentException
* @return AbstractAdapter
*/
public function setOptions($options = array())
Expand Down
4 changes: 3 additions & 1 deletion src/AbstractWord.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public function getTimeout()
/**
* Sets if session should be preserved on generate()
*
* @param $keepSession Should session be kept on generate()?
* @param bool $keepSession Should session be kept on generate()?
* @return AbstractWord
*/
public function setKeepSession($keepSession)
Expand Down Expand Up @@ -242,6 +242,7 @@ public function setUseNumbers($useNumbers)
/**
* Get session object
*
* @throws Exception\InvalidArgumentException
* @return Container
*/
public function getSession()
Expand Down Expand Up @@ -359,6 +360,7 @@ protected function generateRandomId()
*
* @see Zend\Validator\ValidatorInterface::isValid()
* @param mixed $value
* @param mixed $context
* @return bool
*/
public function isValid($value, $context = null)
Expand Down
3 changes: 3 additions & 0 deletions src/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class Image extends AbstractWord
* Constructor
*
* @param array|\Traversable $options
* @throws Exception\ExtensionNotLoadedException
*/
public function __construct($options = null)
{
Expand Down Expand Up @@ -474,6 +475,8 @@ public function generate()
*
* @param string $id Captcha ID
* @param string $word Captcha word
* @throws Exception\NoFontProvidedException if no font was set
* @throws Exception\ImageNotLoadableException if start image cannot be loaded
*/
protected function generateImage($id, $word)
{
Expand Down
1 change: 1 addition & 0 deletions src/ReCaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ public function generate()
*
* @see \Zend\Validator\ValidatorInterface::isValid()
* @param mixed $value
* @param mixed $context
* @return boolean
*/
public function isValid($value, $context = null)
Expand Down

0 comments on commit 6b85d76

Please sign in to comment.