Shorten long exception message.
This commit is contained in:
parent
2c2344c39f
commit
8c8ff5fac7
|
@ -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();
|
Loading…
Reference in New Issue