@@ -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 | { |