@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | * Generate headers for the given route. |
| 92 | 92 | * |
| 93 | 93 | * @param array &$route |
| 94 | - * @param object $reflectionClass |
|
| 94 | + * @param \ReflectionClass $reflectionClass |
|
| 95 | 95 | * @param string $method |
| 96 | 96 | * @param array $skipLoginCheck |
| 97 | 97 | * @return void |
@@ -118,6 +118,7 @@ discard block |
||
| 118 | 118 | * |
| 119 | 119 | * @param array &$route |
| 120 | 120 | * @param object $reflectionMethod] |
| 121 | + * @param \ReflectionMethod $reflectionMethod |
|
| 121 | 122 | * @return void |
| 122 | 123 | */ |
| 123 | 124 | protected function processDocBlock(&$route, $reflectionMethod) |
@@ -140,7 +141,7 @@ discard block |
||
| 140 | 141 | * Generate post body for the given route. |
| 141 | 142 | * |
| 142 | 143 | * @param array &$route |
| 143 | - * @param object $reflectionMethod |
|
| 144 | + * @param \ReflectionMethod $reflectionMethod |
|
| 144 | 145 | * @param array $validationRules |
| 145 | 146 | * @return void |
| 146 | 147 | */ |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | * |
| 25 | 25 | * @param array $relations |
| 26 | 26 | * @param string $sortBy |
| 27 | - * @param boolean $desc |
|
| 27 | + * @param integer $desc |
|
| 28 | 28 | * @param array $columns |
| 29 | 29 | * @return collection |
| 30 | 30 | */ |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | * @param integer $perPage |
| 43 | 43 | * @param array $relations |
| 44 | 44 | * @param string $sortBy |
| 45 | - * @param boolean $desc |
|
| 45 | + * @param integer $desc |
|
| 46 | 46 | * @param array $columns |
| 47 | 47 | * @return collection |
| 48 | 48 | */ |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | * @param integer $perPage |
| 132 | 132 | * @param array $relations |
| 133 | 133 | * @param string $sortBy |
| 134 | - * @param boolean $desc |
|
| 134 | + * @param integer $desc |
|
| 135 | 135 | * @param array $columns |
| 136 | 136 | * @return collection |
| 137 | 137 | */ |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | * @param integer $perPage |
| 150 | 150 | * @param array $relations |
| 151 | 151 | * @param string $sortBy |
| 152 | - * @param boolean $desc |
|
| 152 | + * @param integer $desc |
|
| 153 | 153 | * @param array $columns |
| 154 | 154 | * @return collection |
| 155 | 155 | */ |
@@ -412,7 +412,7 @@ discard block |
||
| 412 | 412 | * Update record in the storage based on the given |
| 413 | 413 | * condition. |
| 414 | 414 | * |
| 415 | - * @param var $value condition value |
|
| 415 | + * @param boolean $value condition value |
|
| 416 | 416 | * @param array $data |
| 417 | 417 | * @param string $attribute condition column name |
| 418 | 418 | * @return void |
@@ -489,7 +489,7 @@ discard block |
||
| 489 | 489 | * @param array $conditions array of conditions |
| 490 | 490 | * @param array $relations |
| 491 | 491 | * @param string $sortBy |
| 492 | - * @param boolean $desc |
|
| 492 | + * @param integer $desc |
|
| 493 | 493 | * @param array $columns |
| 494 | 494 | * @return collection |
| 495 | 495 | */ |
@@ -521,7 +521,7 @@ discard block |
||
| 521 | 521 | * @param array $conditions array of conditions |
| 522 | 522 | * @param integer $perPage |
| 523 | 523 | * @param string $sortBy |
| 524 | - * @param boolean $desc |
|
| 524 | + * @param integer $desc |
|
| 525 | 525 | * @param array $columns |
| 526 | 526 | * @return collection |
| 527 | 527 | */ |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * Fetch all records with relations from storage. |
| 47 | 47 | * |
| 48 | 48 | * @param string $sortBy The name of the column to sort by. |
| 49 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 49 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 50 | 50 | * @return \Illuminate\Http\Response |
| 51 | 51 | */ |
| 52 | 52 | public function index($sortBy = 'created_at', $desc = 1) |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | * @param string $query The search text. |
| 79 | 79 | * @param integer $perPage Number of rows per page default 15. |
| 80 | 80 | * @param string $sortBy The name of the column to sort by. |
| 81 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 81 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 82 | 82 | * @return \Illuminate\Http\Response |
| 83 | 83 | */ |
| 84 | 84 | public function search($query = '', $perPage = 15, $sortBy = 'created_at', $desc = 1) |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | * |
| 96 | 96 | * @param \Illuminate\Http\Request $request |
| 97 | 97 | * @param string $sortBy The name of the column to sort by. |
| 98 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 98 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 99 | 99 | * @return \Illuminate\Http\Response |
| 100 | 100 | */ |
| 101 | 101 | public function findby(Request $request, $sortBy = 'created_at', $desc = 1) |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | * |
| 127 | 127 | * @param integer $perPage Number of rows per page default 15. |
| 128 | 128 | * @param string $sortBy The name of the column to sort by. |
| 129 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 129 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 130 | 130 | * @return \Illuminate\Http\Response |
| 131 | 131 | */ |
| 132 | 132 | public function paginate($perPage = 15, $sortBy = 'created_at', $desc = 1) |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | * @param \Illuminate\Http\Request $request |
| 145 | 145 | * @param integer $perPage Number of rows per page default 15. |
| 146 | 146 | * @param string $sortBy The name of the column to sort by. |
| 147 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 147 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 148 | 148 | * @return \Illuminate\Http\Response |
| 149 | 149 | */ |
| 150 | 150 | public function paginateby(Request $request, $perPage = 15, $sortBy = 'created_at', $desc = 1) |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | * @param \Illuminate\Http\Request $request |
| 209 | 209 | * @param integer $perPage Number of rows per page default 15. |
| 210 | 210 | * @param string $sortBy The name of the column to sort by. |
| 211 | - * @param boolean $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 211 | + * @param integer $desc Sort ascending or descinding (1: desc, 0: asc). |
|
| 212 | 212 | * @return \Illuminate\Http\Response |
| 213 | 213 | */ |
| 214 | 214 | public function deleted(Request $request, $perPage = 15, $sortBy = 'created_at', $desc = 1) |