Completed
Push — master ( c2d471...c0413d )
by Aleksandar
208:47 queued 204:29
created
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.
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.
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.
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.