Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
34 | protected function configureListFields(ListMapper $listMapper): void |
||
35 | { |
||
36 | $listMapper |
||
37 | ->add('id') |
||
38 | ->add('title') |
||
39 | ->add('timeInSeconds') |
||
40 | ->add('lesson') |
||
41 | ->add('created') |
||
42 | ->add('updated') |
||
43 | ->add('_action', null, [ |
||
44 | 'actions' => [ |
||
45 | 'show' => [], |
||
46 | 'edit' => [], |
||
47 | 'delete' => [], |
||
48 | ], |
||
83 |
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: