$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');
}
$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");
}
/**