Conditions | 4 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 4 |
Changes | 0 |
1 | <?php |
||
70 | 16 | public function postProcess($s, array $data) |
|
71 | { |
||
72 | 16 | $ret = ''; |
|
73 | |||
74 | 16 | if (($data['tag'] === 'fnt') && ($this->cnt > 0)) { |
|
75 | 1 | $ret .= '<ol>' . "\n"; |
|
76 | 1 | foreach ($this->footnotes as $f) { |
|
77 | 1 | $ret .= '<li>' . $f . '</li>' . "\n"; |
|
78 | 1 | } |
|
79 | 1 | $ret .= '</ol>'; |
|
80 | 1 | } |
|
81 | |||
82 | 16 | return $s . $ret; |
|
83 | } |
||
84 | } |
||
85 |