Skip to content

Commit

Permalink
Merge pull request #4 from jdreesen/fix-typo
Browse files Browse the repository at this point in the history
Fixed small typo in exception message
  • Loading branch information
mnapoli committed Sep 13, 2015
2 parents 67ad285 + 258288a commit 0b59dae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Invoker.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private function resolveCallableFromContainer($callable)
return $this->container->get($callable);
} else {
throw new NotCallableException(sprintf(
'%s is neither a callable or a valid container entry',
'%s is neither a callable nor a valid container entry',
$callable
));
}
Expand Down
2 changes: 1 addition & 1 deletion tests/InvokerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public function should_throw_if_calling_non_callable_without_container()
/**
* @test
* @expectedException \Invoker\Exception\NotCallableException
* @expectedExceptionMessage foo is neither a callable or a valid container entry
* @expectedExceptionMessage foo is neither a callable nor a valid container entry
*/
public function should_throw_if_calling_non_callable_with_container()
{
Expand Down

0 comments on commit 0b59dae

Please sign in to comment.