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

Commit

Permalink
Resolved merge conflict in Zend\GData\AuthSub
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/PatternFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ public static function factory($patternName, $options = array())
}
if (is_array($options)) {
$options = new Pattern\PatternOptions($options);
}
if (!$options instanceof Pattern\PatternOptions) {
} elseif (!$options instanceof Pattern\PatternOptions) {
throw new Exception\InvalidArgumentException(sprintf(
'%s expects an array, Traversable object, or %s\Pattern\PatternOptions object; received "%s"',
__METHOD__,
Expand Down

0 comments on commit aa9ef86

Please sign in to comment.