| @@ -181,9 +181,9 @@ | ||
| 181 | 181 | $this->set_pagination_args( |
| 182 | 182 | array( |
| 183 | 183 | 'total_items' => $total_items, |
| 184 | 184 | 'per_page' => $per_page, |
| 185 | - 'total_pages' => (int) ceil( $total_items / $per_page ), | |
| 185 | + 'total_pages' => ceil( $total_items / $per_page ), | |
| 186 | 186 | ) |
| 187 | 187 | ); |
| 188 | 188 | |
| 189 | 189 | } |
| @@ -197,9 +197,9 @@ | ||
| 197 | 197 | public function reorder( $data ) { |
| 198 | 198 | |
| 199 | 199 | usort( |
| 200 | 200 | $data, |
| 201 | - function ( $a, $b ) { | |
| 201 | + function( $a, $b ) { | |
| 202 | 202 | |
| 203 | 203 | if ( empty( $_REQUEST['orderby'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification |
| 204 | 204 | $orderby = 'title'; |
| 205 | 205 | } else { |