Shorten long exception message.

This commit is contained in:
Taylor Otwell 2011-11-16 12:56:28 -06:00
parent 2c2344c39f
commit 8c8ff5fac7
1 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ public static function resolve($name, $parameters = array())
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 @@ public static function resolve($name, $parameters = array())
* loaded since there isn't any reason to load the container
* configuration until the class is first requested.
*/
IoC::bootstrap();
IoC::bootstrap();