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

Commit

Permalink
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Listener/ConfigListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ protected function addConfigPaths($paths, $type)
if (!is_array($paths)) {
throw new Exception\InvalidArgumentException(
sprintf('Argument passed to %::%s() must be an array, '
. 'implement the \Traversable interface, or be an '
. 'implement the Traversable interface, or be an '
. 'instance of Zend\Config\Config. %s given.',
__CLASS__, __METHOD__, gettype($paths))
);
Expand Down Expand Up @@ -323,7 +323,7 @@ protected function addConfig($key, $config)
if (!is_array($config)) {
throw new Exception\InvalidArgumentException(
sprintf('Config being merged must be an array, '
. 'implement the \Traversable interface, or be an '
. 'implement the Traversable interface, or be an '
. 'instance of Zend\Config\Config. %s given.', gettype($config))
);
}
Expand Down
8 changes: 4 additions & 4 deletions src/Listener/ListenerOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function setModulePaths($modulePaths)
if (!is_array($modulePaths) && !$modulePaths instanceof Traversable) {
throw new Exception\InvalidArgumentException(
sprintf('Argument passed to %s::%s() must be an array, '
. 'implement the \Traversable interface, or be an '
. 'implement the Traversable interface, or be an '
. 'instance of Zend\Config\Config. %s given.',
__CLASS__, __METHOD__, gettype($modulePaths))
);
Expand Down Expand Up @@ -131,7 +131,7 @@ public function setConfigGlobPaths($configGlobPaths)
if (!is_array($configGlobPaths) && !$configGlobPaths instanceof Traversable) {
throw new Exception\InvalidArgumentException(
sprintf('Argument passed to %s::%s() must be an array, '
. 'implement the \Traversable interface, or be an '
. 'implement the Traversable interface, or be an '
. 'instance of Zend\Config\Config. %s given.',
__CLASS__, __METHOD__, gettype($configGlobPaths))
);
Expand All @@ -153,7 +153,7 @@ public function setConfigStaticPaths($configStaticPaths)
if (!is_array($configStaticPaths) && !$configStaticPaths instanceof Traversable) {
throw new Exception\InvalidArgumentException(
sprintf('Argument passed to %s::%s() must be an array, '
. 'implement the \Traversable interface, or be an '
. 'implement the Traversable interface, or be an '
. 'instance of Zend\Config\Config. %s given.',
__CLASS__, __METHOD__, gettype($configStaticPaths))
);
Expand Down Expand Up @@ -186,7 +186,7 @@ public function setExtraConfig($extraConfig)
if (!is_array($extraConfig) && !$extraConfig instanceof Traversable) {
throw new Exception\InvalidArgumentException(
sprintf('Argument passed to %s::%s() must be an array, '
. 'implement the \Traversable interface, or be an '
. 'implement the Traversable interface, or be an '
. 'instance of Zend\Config\Config. %s given.',
__CLASS__, __METHOD__, gettype($extraConfig))
);
Expand Down
2 changes: 1 addition & 1 deletion src/ModuleManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function setModules($modules)
$this->modules = $modules;
} else {
throw new Exception\InvalidArgumentException(sprintf(
'Parameter to %s\'s %s method must be an array or implement the \\Traversable interface',
'Parameter to %s\'s %s method must be an array or implement the Traversable interface',
__CLASS__, __METHOD__
));
}
Expand Down

0 comments on commit 48ea5ac

Please sign in to comment.