Completed
Push — master ( fb73c0...e952da )
by Sherif
07:01
created
src/Modules/V1/Core/AbstractRepositories/AbstractRepository.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      *
33 33
      * @param  array   $relations
34 34
      * @param  string  $sortBy
35
-     * @param  boolean $desc
35
+     * @param  integer $desc
36 36
      * @param  array   $columns
37 37
      * @return collection
38 38
      */
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      * @param  integer $perPage
51 51
      * @param  array   $relations
52 52
      * @param  string  $sortBy
53
-     * @param  boolean $desc
53
+     * @param  integer $desc
54 54
      * @param  array   $columns
55 55
      * @return collection
56 56
      */
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      * @param  integer $perPage
134 134
      * @param  array   $relations
135 135
      * @param  string  $sortBy
136
-     * @param  boolean $desc
136
+     * @param  integer $desc
137 137
      * @param  array   $columns
138 138
      * @return collection
139 139
      */
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      * @param  integer $perPage
152 152
      * @param  array   $relations
153 153
      * @param  string  $sortBy
154
-     * @param  boolean $desc
154
+     * @param  integer $desc
155 155
      * @param  array   $columns
156 156
      * @return collection
157 157
      */
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
      * @param  array   $conditions array of conditions
469 469
      * @param  array   $relations
470 470
      * @param  string  $sortBy
471
-     * @param  boolean $desc
471
+     * @param  integer $desc
472 472
      * @param  array   $columns
473 473
      * @return collection
474 474
      */
Please login to merge, or discard this patch.
src/Modules/V1/Core/Http/Controllers/BaseApiController.php 1 patch
Doc Comments   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * Fetch all records with relations from model repository.
39 39
      * 
40
-     * @return \Illuminate\Http\Response
40
+     * @return \Illuminate\Http\JsonResponse|null
41 41
      */
42 42
     public function getIndex() 
43 43
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * Fetch the single object with relations from model repository.
53 53
      * 
54 54
      * @param  integer $id
55
-     * @return \Illuminate\Http\Response
55
+     * @return \Illuminate\Http\JsonResponse|null
56 56
      */
57 57
     public function getFind($id) 
58 58
     {
@@ -70,8 +70,8 @@  discard block
 block discarded – undo
70 70
      * @param  string  $query
71 71
      * @param  integer $perPage
72 72
      * @param  string  $sortBy
73
-     * @param  boolean $desc
74
-     * @return \Illuminate\Http\Response
73
+     * @param  integer $desc
74
+     * @return \Illuminate\Http\JsonResponse|null
75 75
      */
76 76
     public function getSearch($query = '', $perPage = 15, $sortBy = 'created_at', $desc = 1) 
77 77
     {
@@ -88,8 +88,8 @@  discard block
 block discarded – undo
88 88
      * 
89 89
      * @param  \Illuminate\Http\Request  $request
90 90
      * @param  string  $sortBy
91
-     * @param  boolean $desc
92
-     * @return \Illuminate\Http\Response
91
+     * @param  integer $desc
92
+     * @return \Illuminate\Http\JsonResponse|null
93 93
      */
94 94
     public function postFindby(Request $request, $sortBy = 'created_at', $desc = 1) 
95 95
     {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * condition.
106 106
      * 
107 107
      * @param  \Illuminate\Http\Request  $request
108
-     * @return \Illuminate\Http\Response
108
+     * @return \Illuminate\Http\JsonResponse|null
109 109
      */
110 110
     public function postFirst(Request $request) 
111 111
     {
@@ -121,8 +121,8 @@  discard block
 block discarded – undo
121 121
      * 
122 122
      * @param  integer $perPage
123 123
      * @param  string  $sortBy
124
-     * @param  boolean $desc
125
-     * @return \Illuminate\Http\Response
124
+     * @param  integer $desc
125
+     * @return \Illuminate\Http\JsonResponse|null
126 126
      */
127 127
     public function getPaginate($perPage = 15, $sortBy = 'created_at', $desc = 1) 
128 128
     {
@@ -140,8 +140,8 @@  discard block
 block discarded – undo
140 140
      * @param  \Illuminate\Http\Request  $request
141 141
      * @param  integer $perPage
142 142
      * @param  string  $sortBy
143
-     * @param  boolean $desc
144
-     * @return \Illuminate\Http\Response
143
+     * @param  integer $desc
144
+     * @return \Illuminate\Http\JsonResponse|null
145 145
      */
146 146
     public function postPaginateby(Request $request, $perPage = 15, $sortBy = 'created_at', $desc = 1) 
147 147
     {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      * Save the given model to repository.
157 157
      * 
158 158
      * @param  \Illuminate\Http\Request  $request
159
-     * @return \Illuminate\Http\Response
159
+     * @return \Illuminate\Http\JsonResponse|null
160 160
      */
161 161
     public function postSave(Request $request) 
162 162
     {
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      * Delete by the given id from model repository.
190 190
      * 
191 191
      * @param  integer  $id
192
-     * @return \Illuminate\Http\Response
192
+     * @return \Illuminate\Http\JsonResponse|null
193 193
      */
194 194
     public function getDelete($id) 
195 195
     {
Please login to merge, or discard this patch.
src/Modules/V1/Acl/Repositories/GroupRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * @param  integer $perPage
40 40
      * @param  array   $relations
41 41
      * @param  string  $sortBy
42
-     * @param  boolean $desc
42
+     * @param  integer $desc
43 43
      * @return collection
44 44
      */
45 45
     public function users($groupId, $perPage = 15, $relations = [], $sortBy = 'created_at', $desc = 1)
Please login to merge, or discard this patch.