Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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