| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | interface FormAdaptorInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Modify the given FormBuilderInterface |
||
| 15 | * |
||
| 16 | * @param FormBuilderInterface $formBuilder The form builder |
||
| 17 | * @param ArrayObject $fields The fields |
||
| 18 | * @param int $sequence The sequence of the form field |
||
| 19 | */ |
||
| 20 | public function adaptForm(FormBuilderInterface $formBuilder, ArrayObject $fields, $sequence); |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Returns a unique id |
||
| 24 | * |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function getUniqueId(); |
||
| 28 | } |
||
| 29 |
For interface and abstract methods, it is impossible to infer the return type from the immediate code. In these cases, it is generally advisible to explicitly annotate these methods with a
@returndoc comment to communicate to implementors of these methods what they are expected to return.