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/3679' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ModuleAutoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public function registerPaths($paths)
throw new Exception\InvalidArgumentException(
'Parameter to \\Zend\\Loader\\ModuleAutoloader\'s '
. 'registerPaths method must be an array or '
. 'implement the \\Traversable interface'
. 'implement the Traversable interface'
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/PluginClassLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static function addStaticMap($map)
return;
}

if (!is_array($map) && !$map instanceof \Traversable) {
if (!is_array($map) && !$map instanceof Traversable) {
throw new Exception\InvalidArgumentException('Expects an array or Traversable object');
}
foreach ($map as $key => $value) {
Expand Down

0 comments on commit ec5ac8d

Please sign in to comment.