From: Gunnar Wrobel
Date: Mon, 21 Sep 2009 10:06:50 +0000 (+0200) Subject: typos X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0b038e4f6757c76efb5a9740f952af91ebaabfb6;p=horde.git typos --- diff --git a/framework/Injector/lib/Horde/Injector.php b/framework/Injector/lib/Horde/Injector.php index 7383e5f8b..af0368dde 100644 --- a/framework/Injector/lib/Horde/Injector.php +++ b/framework/Injector/lib/Horde/Injector.php @@ -67,7 +67,7 @@ class Horde_Injector implements Horde_Injector_Scope $interface = array_shift($args); if (!$interface) { - throw new BadMethodCallException('First paremeter for "bind' . $type . + throw new BadMethodCallException('First parameter for "bind' . $type . '" must be the name of an interface or class'); } diff --git a/framework/Injector/test/Horde/Injector/InjectorTest.php b/framework/Injector/test/Horde/Injector/InjectorTest.php index 14ba17958..bb7b7f57e 100644 --- a/framework/Injector/test/Horde/Injector/InjectorTest.php +++ b/framework/Injector/test/Horde/Injector/InjectorTest.php @@ -128,7 +128,7 @@ class Horde_Injector_InjectorTest extends PHPUnit_Framework_TestCase $childInjector->addBinder('FooBarInterface', new Horde_Injector_Binder_Implementation('StdClass')); $this->assertSame($returnedObject, $childInjector->getInstance('FooBarInterface'), - "Child should have returned object refrence from parnet because added binder was identical to the parent binder"); + "Child should have returned object refernce from parent because added binder was identical to the parent binder"); } /**