Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | protected function getColumns() |
||
29 | { |
||
30 | $link = config('cortex.foundation.route.locale_prefix') |
||
31 | ? '"<a href=\""+routes.route(\'adminarea.testimonials.edit\', {testimonial: full.id, locale: \''.$this->request->segment(1).'\'})+"\">"+data+"</a>"' |
||
32 | : '"<a href=\""+routes.route(\'adminarea.testimonials.edit\', {testimonial: full.id})+"\">"+data+"</a>"'; |
||
33 | |||
34 | return [ |
||
41 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.