Completed
Push — develop-3.0 ( 4fe777...24fc5d )
by Mohamed
09:15
created
app/Repository/Project/Issue/Attachment/Updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      * @param string     $body
63 63
      * @param Model\User $user
64 64
      *
65
-     * @return Eloquent\Model
65
+     * @return boolean
66 66
      */
67 67
     public function updateBody($body, Model\User $user)
68 68
     {
Please login to merge, or discard this patch.
app/Repository/Project/Issue/Comment/Updater.php 2 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * @param string        $body
74 74
      * @param UserInterface $user
75 75
      *
76
-     * @return Eloquent\Model
76
+     * @return boolean
77 77
      */
78 78
     public function updateBody($body, UserInterface $user)
79 79
     {
@@ -97,9 +97,8 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Delete a comment and its attachments.
99 99
      *
100
-     * @param UserInterface $user
101 100
      *
102
-     * @return Eloquent\Model
101
+     * @return boolean|null
103 102
      *
104 103
      * @throws \Exception
105 104
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Tinyissue\Form\UserSetting as Form;
15 15
 use Tinyissue\Http\Requests\FormRequest;
16 16
 use Tinyissue\Model\Project;
17
-use Tinyissue\Model\User;
18 17
 
19 18
 /**
20 19
  * UserController is the controller class for managing request related to logged in user account
Please login to merge, or discard this patch.
app/Repository/Project/Issue/Updater.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @param int $userId
30 30
      *
31
-     * @return Eloquent\Model
31
+     * @return boolean
32 32
      */
33 33
     public function changeUpdatedBy($userId)
34 34
     {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      *
72 72
      * @param array $input
73 73
      *
74
-     * @return Eloquent\Model
74
+     * @return boolean
75 75
      */
76 76
     public function update(array $input)
77 77
     {
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
      * @param int           $status
240 240
      * @param UserInterface $user
241 241
      *
242
-     * @return Eloquent\Model
242
+     * @return boolean
243 243
      */
244 244
     public function changeStatus($status, UserInterface $user)
245 245
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Illuminate\Support\Collection;
15 15
 use Tinyissue\Contracts\Model\UserInterface;
16 16
 use Tinyissue\Model\Activity;
17
-use Tinyissue\Model\Permission;
18 17
 use Tinyissue\Model\Project;
19 18
 use Tinyissue\Model\Tag;
20 19
 use Tinyissue\Model\User;
Please login to merge, or discard this patch.
app/Repository/Project/Note/Updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      * @param string     $body
63 63
      * @param Model\User $user
64 64
      *
65
-     * @return Eloquent\Model
65
+     * @return boolean
66 66
      */
67 67
     public function updateBody($body, Model\User $user)
68 68
     {
Please login to merge, or discard this patch.
app/Repository/RepositoryUpdater.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * @param array $data
45 45
      *
46
-     * @return mixed
46
+     * @return boolean
47 47
      */
48 48
     public function create(array $data)
49 49
     {
@@ -51,16 +51,18 @@  discard block
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-     * @param array $data
55 54
      * @param       $id
56 55
      *
57
-     * @return mixed
56
+     * @return boolean
58 57
      */
59 58
     public function update(array $attributes = [])
60 59
     {
61 60
         return $this->model->update($attributes);
62 61
     }
63 62
 
63
+    /**
64
+     * @param string $method
65
+     */
64 66
     protected function transaction($method)
65 67
     {
66 68
         return DB::transaction(function () use ($method) {
Please login to merge, or discard this patch.
app/Repository/User/Counter.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@  discard block
 block discarded – undo
32 32
     }
33 33
 
34 34
     /**
35
-     * @param int $deleted
36 35
      *
37 36
      * @return int
38 37
      */
@@ -42,7 +41,6 @@  discard block
 block discarded – undo
42 41
     }
43 42
 
44 43
     /**
45
-     * @param int $deleted
46 44
      *
47 45
      * @return int
48 46
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Illuminate\Database\Eloquent\Relations;
15 15
 use Tinyissue\Contracts\Model\UserInterface;
16
-use Tinyissue\Model\Permission;
17 16
 use Tinyissue\Model\Project;
18 17
 use Tinyissue\Repository\Repository;
19 18
 
Please login to merge, or discard this patch.
app/Repository/User/Fetcher.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Illuminate\Database\Eloquent;
15 15
 use Illuminate\Database\Eloquent\Relations;
16 16
 use Tinyissue\Contracts\Model\UserInterface;
17
-use Tinyissue\Model\Permission;
18 17
 use Tinyissue\Model\Project;
19 18
 use Tinyissue\Model\User;
20 19
 use Tinyissue\Repository\Repository;
Please login to merge, or discard this patch.
app/Repository/User/Updater.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,6 @@
 block discarded – undo
73 73
     /**
74 74
      * Updates the users settings, validates the fields.
75 75
      *
76
-     * @param array $info
77 76
      *
78 77
      * @return Eloquent\Model
79 78
      */
Please login to merge, or discard this patch.