| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php namespace Distilleries\Expendable\Http\Datatables\User; |
||
| 32 | 2 | public function filters() |
|
| 33 | { |
||
| 34 | 2 | $this->form->add('status', 'choice', [ |
|
| 35 | 2 | 'choices' => StaticLabel::status(), |
|
| 36 | 2 | 'empty_value' => '-', |
|
| 37 | 2 | 'validation' => 'required', |
|
| 38 | 2 | 'label' => trans('expendable::datatable.status') |
|
| 39 | ]); |
||
| 42 | } |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..