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

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resolver/TemplateMapResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function add($nameOrMap, $path = null)
throw new Exception\InvalidArgumentException(sprintf(
'%s: expects a string, array, or Traversable for the first argument; received "%s"',
__METHOD__,
(is_object($map) ? get_class($map) : gettype($map))
(is_object($nameOrMap) ? get_class($nameOrMap) : gettype($nameOrMap))
));
}

Expand Down

0 comments on commit 2e82366

Please sign in to comment.