From 0b038e4f6757c76efb5a9740f952af91ebaabfb6 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Mon, 21 Sep 2009 12:06:50 +0200 Subject: [PATCH] typos --- framework/Injector/lib/Horde/Injector.php | 2 +- framework/Injector/test/Horde/Injector/InjectorTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); } /** -- 2.11.0