BUGFIX: Fix wrong documentation

* As name is an option and has to be provided as an option
This commit is contained in:
Daniel Siepmann 2016-08-05 13:36:18 +02:00
parent a53f0213da
commit abc269f99a

View file

@ -36,7 +36,7 @@ If you prefer the name, you have to configure the validator to use the specific
/** /**
* @param Order $order * @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) {...} public function createOrder($order) {...}