These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace Encore\Admin\Form\Field; |
||
4 | |||
5 | class Rate extends Text |
||
6 | { |
||
7 | public function render() |
||
8 | { |
||
9 | $this->prepend('') |
||
10 | ->append('%') |
||
11 | ->defaultAttribute('style', 'text-align:right;') |
||
12 | ->defaultAttribute('placeholder', 0); |
||
13 | |||
14 | return parent::render(); |
||
0 ignored issues
–
show
Bug
Compatibility
introduced
by
Loading history...
|
|||
15 | } |
||
16 | } |
||
17 |