Element/Boolean: ignore PHPCS violation as of ZF1

This commit is contained in:
Thomas Gelf 2016-05-19 20:54:18 +02:00
parent c9b4afa29d
commit 7622200f2e
1 changed files with 4 additions and 0 deletions

View File

@ -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) {