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);
......@@ -165,4 +165,4 @@ class IoC {
* loaded since there isn't any reason to load the container
* configuration until the class is first requested.
*/
IoC::bootstrap();
IoC::bootstrap();
\ No newline at end of file
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