BUGFIX: Fix wrong documentation
* As name is an option and has to be provided as an option
This commit is contained in:
parent
a53f0213da
commit
abc269f99a
1 changed files with 1 additions and 1 deletions
|
@ -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) {...}
|
||||
|
||||
|
|
Loading…
Reference in a new issue