Shorten long exception message.

This commit is contained in:
Taylor Otwell
2011-11-16 12:56:28 -06:00
parent 2c2344c39f
commit 8c8ff5fac7

View File

@@ -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();