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

Commit

Permalink
Merge remote-tracking branch 'prolic/captcha' into prolic-zen-52
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions src/Word.php → src/AbstractWord.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
use Zend\Session\Container;

/**
* Word-based captcha adapter
* AbstractWord-based captcha adapter
*
* Generates random word which user should recognise
*
Expand All @@ -34,7 +34,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Word extends AbstractAdapter
abstract class AbstractWord extends AbstractAdapter
{
/**#@+
* @var array Character sets
Expand Down Expand Up @@ -140,7 +140,7 @@ public function getSessionClass()
* Set session class for persistence
*
* @param string $sessionClass
* @return Word
* @return AbstractWord
*/
public function setSessionClass($sessionClass)
{
Expand All @@ -162,7 +162,7 @@ public function getWordlen()
* Set word length of captcha
*
* @param integer $wordlen
* @return Word
* @return AbstractWord
*/
public function setWordlen($wordlen)
{
Expand Down Expand Up @@ -199,7 +199,7 @@ protected function setId ($id)
* Set timeout for session token
*
* @param int $ttl
* @return Word
* @return AbstractWord
*/
public function setTimeout($ttl)
{
Expand All @@ -221,7 +221,7 @@ public function getTimeout()
* Sets if session should be preserved on generate()
*
* @param $keepSession Should session be kept on generate()?
* @return Word
* @return AbstractWord
*/
public function setKeepSession($keepSession)
{
Expand All @@ -243,7 +243,7 @@ public function getUseNumbers()
* Set if numbers should be included in the pattern
*
* @param bool $useNumbers numbers should be included in the pattern?
* @return Word
* @return AbstractWord
*/
public function setUseNumbers($useNumbers)
{
Expand Down Expand Up @@ -274,7 +274,7 @@ public function getSession()
* Set session namespace object
*
* @param Container $session
* @return Word
* @return AbstractWord
*/
public function setSession(Container $session)
{
Expand Down Expand Up @@ -303,7 +303,7 @@ public function getWord()
* Set captcha word
*
* @param string $word
* @return Word
* @return AbstractWord
*/
protected function setWord($word)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Dumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Dumb extends Word
class Dumb extends AbstractWord
{
/**
* CAPTCHA label
Expand Down
2 changes: 1 addition & 1 deletion src/Figlet.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Figlet extends Word
class Figlet extends AbstractWord
{
/**
* Figlet text renderer
Expand Down
2 changes: 1 addition & 1 deletion src/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Image extends Word
class Image extends AbstractWord
{
/**
* Directory for generated images
Expand Down

0 comments on commit 68f6e0b

Please sign in to comment.