| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 13 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 6 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php namespace Arcanesoft\Foundation\Presenters;  | 
            ||
| 20 | public function render($class = 'pagination-sm m0')  | 
            ||
| 21 |     { | 
            ||
| 22 |         if ($this->hasPages()) { | 
            ||
| 23 | return sprintf(  | 
            ||
| 24 | '<ul class="pagination '. $class .'">%s %s %s</ul>',  | 
            ||
| 25 | $this->getPreviousButton(),  | 
            ||
| 26 | $this->getLinks(),  | 
            ||
| 27 | $this->getNextButton()  | 
            ||
| 28 | );  | 
            ||
| 29 | }  | 
            ||
| 30 | |||
| 31 | return '';  | 
            ||
| 32 | }  | 
            ||
| 33 | }  | 
            ||
| 34 |