Completed
Push — master ( b9cf74...ed1447 )
by Aleksandar
04:09 queued 02:02
created
application/packages/Article/src/Service/EventService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@
 block discarded – undo
63 63
         return $this->getPagination($select, $page, $limit);
64 64
     }
65 65
 
66
+    /**
67
+     * @param integer $limit
68
+     */
66 69
     public function fetchLatest($limit)
67 70
     {
68 71
         return $this->articleEventsMapper->getLatest($limit);
Please login to merge, or discard this patch.
application/packages/Article/src/Service/PostService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -203,6 +203,9 @@
 block discarded – undo
203 203
         return $this->articleMapper->getCategories($articleId);
204 204
     }
205 205
 
206
+    /**
207
+     * @param integer $limit
208
+     */
206 209
     public function getLatestWeb($limit)
207 210
     {
208 211
         return $this->articlePostsMapper->getLatest($limit);
Please login to merge, or discard this patch.
application/packages/Article/src/Service/VideoService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,6 +91,9 @@
 block discarded – undo
91 91
         return $this->getPagination($select, $page, $limit);
92 92
     }
93 93
 
94
+    /**
95
+     * @param integer $limit
96
+     */
94 97
     public function fetchLatest($limit)
95 98
     {
96 99
         return $this->articleVideosMapper->getLatest($limit);
Please login to merge, or discard this patch.
application/packages/Category/src/Mapper/CategoryMapper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
         return $select;
45 45
     }
46 46
 
47
+    /**
48
+     * @param integer $limit
49
+     */
47 50
     public function getCategoryPostsSelect($categoryId = null, $limit = null)
48 51
     {
49 52
         $select = $this->getSql()->select()
Please login to merge, or discard this patch.
application/packages/Admin/src/Mapper/AdminUsersMapper.php 1 patch
Doc Comments   +12 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@  discard block
 block discarded – undo
31 31
         $this->adapter = $adapter;
32 32
     }
33 33
 
34
+    /**
35
+     * @param string $id
36
+     */
34 37
     public function get($id)
35 38
     {
36 39
         return $this->select(['admin_user_id' => $id])->current();
@@ -41,7 +44,7 @@  discard block
 block discarded – undo
41 44
      *
42 45
      * @param string $email email
43 46
      *
44
-     * @return array|\ArrayObject|null
47
+     * @return string
45 48
      */
46 49
     public function getByEmail(string $email)
47 50
     {
@@ -51,7 +54,6 @@  discard block
 block discarded – undo
51 54
     /**
52 55
      * Updates login data.
53 56
      *
54
-     * @param string $uuid admin user id
55 57
      *
56 58
      * @return int number of affected rows
57 59
      */
@@ -60,6 +62,11 @@  discard block
 block discarded – undo
60 62
         return $this->update(['last_login' => date('Y-m-d H:i:s')], ['admin_user_id' => $userId]);
61 63
     }
62 64
 
65
+    /**
66
+     * @param string $userId
67
+     *
68
+     * @return \Zend\Db\Sql\Select
69
+     */
63 70
     public function getPaginationSelect($userId)
64 71
     {
65 72
         $select = $this->getSql()->select()->order(['created_at' => 'desc']);
@@ -69,6 +76,9 @@  discard block
 block discarded – undo
69 76
         return $select;
70 77
     }
71 78
 
79
+    /**
80
+     * @param integer $limit
81
+     */
72 82
     public function getRandom($limit)
73 83
     {
74 84
         $select = $this->getSql()->select()
Please login to merge, or discard this patch.
application/packages/Article/src/Mapper/ArticleMapper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Zend\Db\Adapter\Adapter;
8 8
 use Zend\Db\Adapter\AdapterAwareInterface;
9 9
 use Zend\Db\Sql\Delete;
10
-use Zend\Db\Sql\Insert;
11 10
 use Zend\Db\TableGateway\AbstractTableGateway;
12 11
 
13 12
 /**
Please login to merge, or discard this patch.
application/packages/Article/src/Service/ArticleServiceInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
     /**
13 13
      * Fetches a list of ArticleEntity models.
14 14
      *
15
-     * @param array $params
16 15
      *
17 16
      * @return \ArrayObject
18 17
      */
Please login to merge, or discard this patch.
application/packages/Category/src/Service/CategoryService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * Return categories with posts(articles).
174 174
      *
175
-     * @param null $inHomepage
175
+     * @param boolean $inHomepage
176 176
      * @param null $inCategoryList
177 177
      *
178 178
      * @return mixed
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     /**
194 194
      * Return categories posts/articles.
195 195
      *
196
-     * @param null $inCategoryList
196
+     * @param boolean $inCategoryList
197 197
      *
198 198
      * @return null|\Zend\Db\ResultSet\ResultSetInterface
199 199
      */
Please login to merge, or discard this patch.