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

Commit

Permalink
Fixing trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
levofski committed Jul 18, 2013
1 parent 6700265 commit c5c7b5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library/Zend/Form/Element/Checkbox.php
Expand Up @@ -168,7 +168,7 @@ public function getInputSpecification()
'name' => $this->getName(),
'required' => true,
);

if ($validator = $this->getValidator()) {
$spec['validators'] = array(
$validator,
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Form/Element/MultiCheckbox.php
Expand Up @@ -25,7 +25,7 @@ class MultiCheckbox extends Checkbox
protected $attributes = array(
'type' => 'multi_checkbox',
);

/**
* @var bool
*/
Expand Down Expand Up @@ -116,7 +116,7 @@ public function setAttribute($key, $value)
}
return parent::setAttribute($key, $value);
}

/**
* Set the flag to allow for disabling the automatic addition of an InArray validator.
*
Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Form/Element/MultiCheckboxTest.php
Expand Up @@ -134,7 +134,7 @@ public function testSetOptionsOptions()
$this->assertEquals(array('bar' => 'baz'), $element->getOption('value_options'));
$this->assertEquals(array('foo' => 'bar'), $element->getOption('options'));
}

public function testDisableInputSpecification()
{
$element = new MultiCheckboxElement();
Expand Down

0 comments on commit c5c7b5f

Please sign in to comment.