From abc269f99a6bca64686c66ef9f25db19be66003b Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Fri, 5 Aug 2016 13:36:18 +0200 Subject: [PATCH] BUGFIX: Fix wrong documentation * As name is an option and has to be provided as an option --- Documentation/source/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/source/usage.rst b/Documentation/source/usage.rst index 120e32e..e7599b0 100644 --- a/Documentation/source/usage.rst +++ b/Documentation/source/usage.rst @@ -36,7 +36,7 @@ If you prefer the name, you have to configure the validator to use the specific /** * @param Order $order - * @Flow\Validate(type="DigiComp.SettingValidator:Settings", name="MyCustomName") + * @Flow\Validate(argumentName="order", type="DigiComp.SettingValidator:Settings", options={"name"="MyCustomName"}) */ public function createOrder($order) {...}