diff --git a/Decorator/Decorator.php b/Decorator/Decorator.php index 41c811f..1c3d098 100644 --- a/Decorator/Decorator.php +++ b/Decorator/Decorator.php @@ -74,11 +74,11 @@ class XmlDecorator implements WebserviceDecorator { public function renderData($data) { - // do some fany conversion to xml from array ... + // do some fancy conversion to xml from array ... return simplexml_load_string($data); } } $service = new Webservice(array('foo' => 'bar')); $service->addDecorator(new JsonDecorator()); -echo $service->renderData(); \ No newline at end of file +echo $service->renderData();