Commit 8c8ff5fa by Taylor Otwell

Shorten long exception message.

parent 2c2344c3
......@@ -145,7 +145,7 @@ class IoC {
if ( ! static::registered($name))
{
throw new \OutOfBoundsException("Error resolving [$name]. No resolver has been registered in the container.");
throw new \OutOfBoundsException("Error resolving [$name]. No resolver has been registered.");
}
$object = call_user_func(static::$registry[$name]['resolver'], $parameters);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment