Total Complexity | 7 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | abstract class UserFormsCompositeField extends CompositeField implements UserFormsFieldContainer |
||
13 | { |
||
14 | /** |
||
15 | * Parent field |
||
16 | * |
||
17 | * @var UserFormsFieldContainer |
||
18 | */ |
||
19 | protected $parent = null; |
||
20 | |||
21 | public function getParent() |
||
24 | } |
||
25 | |||
26 | public function setParent(UserFormsFieldContainer $parent) |
||
30 | } |
||
31 | |||
32 | public function processNext(EditableFormField $field) |
||
58 |
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: