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

Commit

Permalink
Merge branch 'hotfix/4699'
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Jun 28, 2013
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions src/Helper/Cycle.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@

namespace Zend\View\Helper;

use Iterator;

/**
* Helper for alternating between set of values
*/
class Cycle extends AbstractHelper implements \Iterator
class Cycle extends AbstractHelper implements Iterator
{
/**
* Default name
*
* @var string
*/
const DEFAULT_NAME = 'default';
Expand Down Expand Up @@ -180,9 +183,9 @@ public function key()
{
if ($this->pointers[$this->name] < 0) {
return 0;
} else {
return $this->pointers[$this->name];
}

return $this->pointers[$this->name];
}

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Helper/Placeholder/Container/AbstractContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@

namespace Zend\View\Helper\Placeholder\Container;

use ArrayObject;
use Zend\View\Exception;

/**
* Abstract class representing container for placeholder values
*/
abstract class AbstractContainer extends \ArrayObject
abstract class AbstractContainer extends ArrayObject
{
/**
* Whether or not to override all contents of placeholder
Expand Down

0 comments on commit 1b9fd60

Please sign in to comment.