Passed
Push — Showing-Posts ( 15c50f...81c45d )
by Stone
02:27
created
App/Models/PostModel.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -225,13 +225,13 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.