Completed
Push — master ( 39dfcd...b9f790 )
by Aleksandar
27:20
created
src/Admin/src/Controller/AuthController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     /**
99 99
      * Clears user session.
100 100
      *
101
-     * @return static
101
+     * @return \Psr\Http\Message\ResponseInterface
102 102
      */
103 103
     public function logout(): \Psr\Http\Message\ResponseInterface
104 104
     {
Please login to merge, or discard this patch.
src/Core/Mapper/AdminUsersMapper.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@  discard block
 block discarded – undo
29 29
         $this->adapter = $adapter;
30 30
     }
31 31
 
32
+    /**
33
+     * @param string $id
34
+     */
32 35
     public function get($id)
33 36
     {
34 37
         return $this->select(['admin_user_id' => $id])->current();
@@ -38,7 +41,7 @@  discard block
 block discarded – undo
38 41
      * Get admin user by email.
39 42
      *
40 43
      * @param  string $email email
41
-     * @return array|\ArrayObject|null
44
+     * @return string
42 45
      */
43 46
     public function getByEmail(string $email)
44 47
     {
@@ -48,7 +51,6 @@  discard block
 block discarded – undo
48 51
     /**
49 52
      * Updates login data.
50 53
      *
51
-     * @param  string $uuid admin user id
52 54
      * @return int number of affected rows
53 55
      */
54 56
     public function updateLogin(string $userId) : int
@@ -56,6 +58,9 @@  discard block
 block discarded – undo
56 58
         return $this->update(['last_login' => date('Y-m-d H:i:s')], ['admin_user_id' => $userId]);
57 59
     }
58 60
 
61
+    /**
62
+     * @param string $userId
63
+     */
59 64
     public function getPaginationSelect($userId)
60 65
     {
61 66
         $select = $this->getSql()->select()->order(['created_at' => 'desc']);
Please login to merge, or discard this patch.
src/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
      * @return ArrayObject
17 16
      */
18 17
     public function fetchAllArticles($page, $limit);
Please login to merge, or discard this patch.