@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | * |
| 35 | 35 | * @param array $relations |
| 36 | 36 | * @param string $sortBy |
| 37 | - * @param boolean $desc |
|
| 37 | + * @param integer $desc |
|
| 38 | 38 | * @param array $columns |
| 39 | 39 | * @return collection |
| 40 | 40 | */ |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | * @param integer $perPage |
| 53 | 53 | * @param array $relations |
| 54 | 54 | * @param string $sortBy |
| 55 | - * @param boolean $desc |
|
| 55 | + * @param integer $desc |
|
| 56 | 56 | * @param array $columns |
| 57 | 57 | * @return collection |
| 58 | 58 | */ |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | * @param integer $perPage |
| 155 | 155 | * @param array $relations |
| 156 | 156 | * @param string $sortBy |
| 157 | - * @param boolean $desc |
|
| 157 | + * @param integer $desc |
|
| 158 | 158 | * @param array $columns |
| 159 | 159 | * @return collection |
| 160 | 160 | */ |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | * @param integer $perPage |
| 173 | 173 | * @param array $relations |
| 174 | 174 | * @param string $sortBy |
| 175 | - * @param boolean $desc |
|
| 175 | + * @param integer $desc |
|
| 176 | 176 | * @param array $columns |
| 177 | 177 | * @return collection |
| 178 | 178 | */ |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | * Save the given model to the storage. |
| 189 | 189 | * |
| 190 | 190 | * @param array $data |
| 191 | - * @return mixed |
|
| 191 | + * @return boolean |
|
| 192 | 192 | */ |
| 193 | 193 | public function save(array $data) |
| 194 | 194 | { |
@@ -477,7 +477,7 @@ discard block |
||
| 477 | 477 | * @param array $conditions array of conditions |
| 478 | 478 | * @param array $relations |
| 479 | 479 | * @param string $sortBy |
| 480 | - * @param boolean $desc |
|
| 480 | + * @param integer $desc |
|
| 481 | 481 | * @param array $columns |
| 482 | 482 | * @return collection |
| 483 | 483 | */ |
@@ -509,7 +509,7 @@ discard block |
||
| 509 | 509 | * @param array $conditions array of conditions |
| 510 | 510 | * @param integer $perPage |
| 511 | 511 | * @param string $sortBy |
| 512 | - * @param boolean $desc |
|
| 512 | + * @param integer $desc |
|
| 513 | 513 | * @param array $columns |
| 514 | 514 | * @return collection |
| 515 | 515 | */ |
@@ -199,7 +199,7 @@ |
||
| 199 | 199 | /** |
| 200 | 200 | * Get the given method body code. |
| 201 | 201 | * |
| 202 | - * @param object $reflectionMethod |
|
| 202 | + * @param \ReflectionMethod $reflectionMethod |
|
| 203 | 203 | * @return string |
| 204 | 204 | */ |
| 205 | 205 | protected function getMethodBody($reflectionMethod) |
@@ -28,10 +28,6 @@ discard block |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @param string $uri |
|
| 32 | - * @param array $data |
|
| 33 | - * @param array $headers |
|
| 34 | - * @param string $content |
|
| 35 | 31 | * @return \Illuminate\Http\Response |
| 36 | 32 | */ |
| 37 | 33 | public function get() |
@@ -40,10 +36,6 @@ discard block |
||
| 40 | 36 | } |
| 41 | 37 | |
| 42 | 38 | /** |
| 43 | - * @param string $uri |
|
| 44 | - * @param array $data |
|
| 45 | - * @param array $headers |
|
| 46 | - * @param string $content |
|
| 47 | 39 | * @return \Illuminate\Http\Response |
| 48 | 40 | */ |
| 49 | 41 | public function post() |
@@ -52,10 +44,6 @@ discard block |
||
| 52 | 44 | } |
| 53 | 45 | |
| 54 | 46 | /** |
| 55 | - * @param string $uri |
|
| 56 | - * @param array $data |
|
| 57 | - * @param array $headers |
|
| 58 | - * @param string $content |
|
| 59 | 47 | * @return \Illuminate\Http\Response |
| 60 | 48 | */ |
| 61 | 49 | public function put() |
@@ -64,10 +52,6 @@ discard block |
||
| 64 | 52 | } |
| 65 | 53 | |
| 66 | 54 | /** |
| 67 | - * @param string $uri |
|
| 68 | - * @param array $data |
|
| 69 | - * @param array $headers |
|
| 70 | - * @param string $content |
|
| 71 | 55 | * @return \Illuminate\Http\Response |
| 72 | 56 | */ |
| 73 | 57 | public function delete() |
@@ -268,7 +268,7 @@ |
||
| 268 | 268 | * @param string $groupName The name of the requested group. |
| 269 | 269 | * @param integer $perPage Number of rows per page default 15. |
| 270 | 270 | * @param string $sortBy The name of the column to sort by. |
| 271 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 271 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 272 | 272 | * @return \Illuminate\Http\Response |
| 273 | 273 | */ |
| 274 | 274 | public function group(Request $request, $groupName, $perPage = false, $sortBy = 'created_at', $desc = 1) |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | * |
| 145 | 145 | * @param array $credentials |
| 146 | 146 | * @param boolean $skipConfirmEmail |
| 147 | - * @return array |
|
| 147 | + * @return boolean |
|
| 148 | 148 | */ |
| 149 | 149 | public function register($credentials, $skipConfirmEmail = false) |
| 150 | 150 | { |
@@ -344,7 +344,7 @@ discard block |
||
| 344 | 344 | * Save the given data to the logged in user. |
| 345 | 345 | * |
| 346 | 346 | * @param array $data |
| 347 | - * @return void |
|
| 347 | + * @return boolean |
|
| 348 | 348 | */ |
| 349 | 349 | public function saveProfile($data) |
| 350 | 350 | { |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | * Init new object. |
| 35 | 35 | * |
| 36 | 36 | * @param mixed $repo |
| 37 | - * @param CoreConfig $config |
|
| 37 | + * @param \App\Modules\Core\Utl\CoreConfig $config |
|
| 38 | 38 | * @param string $modelResource |
| 39 | 39 | * @return void |
| 40 | 40 | */ |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | * Fetch all records with relations from storage. |
| 60 | 60 | * |
| 61 | 61 | * @param string $sortBy The name of the column to sort by. |
| 62 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 62 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 63 | 63 | * @return \Illuminate\Http\Response |
| 64 | 64 | */ |
| 65 | 65 | public function index($sortBy = 'created_at', $desc = 1) |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | * @param string $query The search text. |
| 86 | 86 | * @param integer $perPage Number of rows per page default 15. |
| 87 | 87 | * @param string $sortBy The name of the column to sort by. |
| 88 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 88 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 89 | 89 | * @return \Illuminate\Http\Response |
| 90 | 90 | */ |
| 91 | 91 | public function search($query = '', $perPage = 15, $sortBy = 'created_at', $desc = 1) |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | * |
| 100 | 100 | * @param \Illuminate\Http\Request $request |
| 101 | 101 | * @param string $sortBy The name of the column to sort by. |
| 102 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 102 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 103 | 103 | * @return \Illuminate\Http\Response |
| 104 | 104 | */ |
| 105 | 105 | public function findby(Request $request, $sortBy = 'created_at', $desc = 1) |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | * |
| 125 | 125 | * @param integer $perPage Number of rows per page default 15. |
| 126 | 126 | * @param string $sortBy The name of the column to sort by. |
| 127 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 127 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 128 | 128 | * @return \Illuminate\Http\Response |
| 129 | 129 | */ |
| 130 | 130 | public function paginate($perPage = 15, $sortBy = 'created_at', $desc = 1) |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | * @param \Illuminate\Http\Request $request |
| 140 | 140 | * @param integer $perPage Number of rows per page default 15. |
| 141 | 141 | * @param string $sortBy The name of the column to sort by. |
| 142 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 142 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 143 | 143 | * @return \Illuminate\Http\Response |
| 144 | 144 | */ |
| 145 | 145 | public function paginateby(Request $request, $perPage = 15, $sortBy = 'created_at', $desc = 1) |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | * @param \Illuminate\Http\Request $request |
| 190 | 190 | * @param integer $perPage Number of rows per page default 15. |
| 191 | 191 | * @param string $sortBy The name of the column to sort by. |
| 192 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 192 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 193 | 193 | * @return \Illuminate\Http\Response |
| 194 | 194 | */ |
| 195 | 195 | public function deleted(Request $request, $perPage = 15, $sortBy = 'created_at', $desc = 1) |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | * @param \Illuminate\Http\Request $request |
| 35 | 35 | * @param string $reportName Name of the requested report |
| 36 | 36 | * @param integer $perPage Number of rows per page default all data. |
| 37 | - * @return \Illuminate\Http\Response |
|
| 37 | + * @return \Illuminate\Http\JsonResponse |
|
| 38 | 38 | */ |
| 39 | 39 | public function getReport(Request $request, $reportName, $perPage = 0) |
| 40 | 40 | { |