@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * |
| 29 | 29 | * @param mixed $value Value to render |
| 30 | 30 | * |
| 31 | - * @return mixed |
|
| 31 | + * @return string |
|
| 32 | 32 | */ |
| 33 | 33 | public function render($value) |
| 34 | 34 | { |
@@ -80,8 +80,7 @@ |
||
| 80 | 80 | $offset = null; |
| 81 | 81 | // load entities from the DataProvider using a pagination system |
| 82 | 82 | $entities = $this->loadPaginate($criteria, $orderBy, $limit, $offset); |
| 83 | - } |
|
| 84 | - else { |
|
| 83 | + } else { |
|
| 85 | 84 | // if no pagination is required (edit action for example) |
| 86 | 85 | $entities = $this->loadWithoutPagination($criteria, $orderBy); |
| 87 | 86 | } |