typos
authorGunnar Wrobel <p@rdus.de>
Mon, 21 Sep 2009 10:06:50 +0000 (12:06 +0200)
committerGunnar Wrobel <p@rdus.de>
Mon, 21 Sep 2009 10:06:50 +0000 (12:06 +0200)
framework/Injector/lib/Horde/Injector.php
framework/Injector/test/Horde/Injector/InjectorTest.php

index 7383e5f..af0368d 100644 (file)
@@ -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');
         }
 
index 14ba179..bb7b7f5 100644 (file)
@@ -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");
     }
 
     /**