From d3a8965500d3ccf9ec8c6e6671ab238e871d6b8b Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Sun, 14 Aug 2011 18:13:12 +0200 Subject: [PATCH] [Doc] Updated array tutorial --- Resources/doc/tutorial/array.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Resources/doc/tutorial/array.rst b/Resources/doc/tutorial/array.rst index 32b28ff..7972624 100644 --- a/Resources/doc/tutorial/array.rst +++ b/Resources/doc/tutorial/array.rst @@ -15,12 +15,12 @@ Controller class DemoController extends ContainerAware { /** - * @Soap\Method("isString") - * @Soap\Param("strings", phpType = "string[]") - * @Soap\Result(phpType = "boolean") + * @Soap\Method("hello") + * @Soap\Param("names", phpType = "string[]") + * @Soap\Result(phpType = "string") */ - public function helloAction(array $strings) + public function helloAction(array $names) { - return new SoapResponse(true); + return new SoapResponse("Hello ".implode(', ', $names)); } } \ No newline at end of file