Element/Boolean: ignore PHPCS violation as of ZF1
This commit is contained in:
parent
c9b4afa29d
commit
7622200f2e
|
@ -48,8 +48,12 @@ class Boolean extends ZfSelect
|
||||||
return parent::setValue($value);
|
return parent::setValue($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @codingStandardsIgnoreStart
|
||||||
|
*/
|
||||||
protected function _translateOption($option, $value)
|
protected function _translateOption($option, $value)
|
||||||
{
|
{
|
||||||
|
// @codingStandardsIgnoreEnd
|
||||||
if (!isset($this->_translated[$option]) && !empty($value)) {
|
if (!isset($this->_translated[$option]) && !empty($value)) {
|
||||||
$this->options[$option] = mt('director', $value);
|
$this->options[$option] = mt('director', $value);
|
||||||
if ($this->options[$option] === $value) {
|
if ($this->options[$option] === $value) {
|
||||||
|
|
Loading…
Reference in New Issue