Conditions | 5 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function init() |
||
25 | { |
||
26 | $options = $this->getOptions(); |
||
27 | if (!empty($options['standartButtons']) && is_array($options['standartButtons'])) { |
||
28 | foreach ($options['standartButtons'] as $button) { |
||
29 | if (!is_array($button)) { |
||
30 | $button = ['type' => $button]; |
||
31 | } |
||
32 | $this->add($button); |
||
33 | } |
||
34 | } |
||
35 | } |
||
36 | } |
||
|
|||
37 |
This check marks files that end in a newline character, i.e. an empy line.