From 8c8ff5fac7d5830f075c00c27a3812dd2a4b4817 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 16 Nov 2011 12:56:28 -0600 Subject: [PATCH] Shorten long exception message. --- laravel/ioc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/ioc.php b/laravel/ioc.php index 349f698b..9adaea80 100644 --- a/laravel/ioc.php +++ b/laravel/ioc.php @@ -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(); \ No newline at end of file