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

Commit

Permalink
Merge branch 'hotfix/zendframework/zendframework#6094-undefined-symbo…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Apr 13, 2014
2 parents f1976c8 + a137564 commit 90cc541
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/DateTimeFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class DateTimeFormatter extends AbstractFilter
/**
* Sets filter options
*
* @param array|Traversable $options
* @param array|\Traversable $options
*/
public function __construct($options = null)
{
Expand Down
3 changes: 2 additions & 1 deletion src/FilterChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
namespace Zend\Filter;

use Countable;
use Traversable;
use Zend\Stdlib\PriorityQueue;

class FilterChain extends AbstractFilter implements Countable
Expand Down Expand Up @@ -52,7 +53,7 @@ public function __construct($options = null)
*/
public function setOptions($options)
{
if (!is_array($options) && !$options instanceof \Traversable) {
if (!is_array($options) && !$options instanceof Traversable) {
throw new Exception\InvalidArgumentException(sprintf(
'Expected array or Traversable; received "%s"',
(is_object($options) ? get_class($options) : gettype($options))
Expand Down
2 changes: 1 addition & 1 deletion src/Inflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public function getTarget()
/**
* Set Target Reference
*
* @param reference $target
* @param string $target
* @return self
*/
public function setTargetReference(&$target)
Expand Down

0 comments on commit 90cc541

Please sign in to comment.