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) {...}