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