From f2074443076d0e2100014142ac3bce5c3aa080f6 Mon Sep 17 00:00:00 2001 From: Dave Hulbert Date: Thu, 9 May 2013 10:10:54 +0200 Subject: [PATCH] Fix typo --- Decorator/Decorator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();