@@ -225,13 +225,13 @@ |
||
| 225 | 225 | } |
| 226 | 226 | |
| 227 | 227 | /** |
| 228 | - * get the list of all the posts. |
|
| 229 | - * @param int $offset |
|
| 230 | - * @param array $select array of limiters [$key => $val] will convert to "where $key = $val" |
|
| 231 | - * @param int $limit |
|
| 232 | - * @return array |
|
| 233 | - * @throws \ErrorException |
|
| 234 | - */ |
|
| 228 | + * get the list of all the posts. |
|
| 229 | + * @param int $offset |
|
| 230 | + * @param array $select array of limiters [$key => $val] will convert to "where $key = $val" |
|
| 231 | + * @param int $limit |
|
| 232 | + * @return array |
|
| 233 | + * @throws \ErrorException |
|
| 234 | + */ |
|
| 235 | 235 | public function getPosts(int $offset = 0, array $select = [], int $limit = Constant::POSTS_PER_PAGE): array |
| 236 | 236 | { |
| 237 | 237 | return $this->getAllPublishedPosts($offset, $limit, false, $select); |