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

Commit

Permalink
Merge branch 'cs/various-things' of https://github.com/Maks3w/zf2
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Dumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function getLabel()

/**
* Retrieve optional view helper name to use when rendering this captcha
*
*
* @return string
*/
public function getHelperName()
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @package Zend_Captcha
* @subpackage Exception
*/
class InvalidArgumentException extends \InvalidArgumentException implements
class InvalidArgumentException extends \InvalidArgumentException implements
ExceptionInterface
{
}
6 changes: 3 additions & 3 deletions src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ abstract class Factory

/**
* Create a captcha adapter instance
*
* @param array|Traversable $options
*
* @param array|Traversable $options
* @return AdapterInterface
* @throws Exception\InvalidArgumentException for a non-array, non-Traversable $options
* @throws Exception\DomainException if class is missing or invalid
Expand Down Expand Up @@ -69,7 +69,7 @@ public static function factory($options)
$class
));
}

unset($options['class']);

if (isset($options['options'])) {
Expand Down
4 changes: 2 additions & 2 deletions src/Figlet.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct($options = null)

/**
* Retrieve the composed figlet manager
*
*
* @return FigletManager
*/
public function getFiglet()
Expand All @@ -65,7 +65,7 @@ public function generate()

/**
* Get helper name used to render captcha
*
*
* @return string
*/
public function getHelperName()
Expand Down
2 changes: 1 addition & 1 deletion test/ImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function setUp()
if (isset($this->word)) {
unset($this->word);
}

$this->testDir = $this->getTmpDir() . '/ZF_test_images';
if (!is_dir($this->testDir)) {
@mkdir($this->testDir);
Expand Down
2 changes: 1 addition & 1 deletion test/ReCaptchaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ public function testAllowsSettingThemeOptionOnServiceObject()
public function testUsesReCaptchaHelper()
{
$captcha = new ReCaptcha;
$this->assertEquals('captcha/recaptcha', $captcha->getHelperName());
$this->assertEquals('captcha/recaptcha', $captcha->getHelperName());
}
}

0 comments on commit 8ab0513

Please sign in to comment.