Skip to content

Commit

Permalink
cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwindell committed Jul 27, 2012
1 parent 2fed098 commit fddc92e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/Zend/Form/Fieldset.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function getMessages($elementName = null)
$messages = array();
foreach ($this->byName as $name => $element) {
$messageSet = $element->getMessages();
if (!is_array($messageSet)
if (!is_array($messageSet)
&& !$messageSet instanceof Traversable
|| empty($messageSet)) {
continue;
Expand Down Expand Up @@ -488,7 +488,7 @@ public function bindValues(array $values = array())
if (empty($value)) {
continue;
}

$element = $this->byName[$name];

if ($element instanceof Collection) {
Expand Down Expand Up @@ -594,4 +594,4 @@ public function __clone()
$this->object = clone $this->object;
}
}
}
}

0 comments on commit fddc92e

Please sign in to comment.