@@ -14,6 +14,7 @@ |
||
| 14 | 14 | /** |
| 15 | 15 | * Create a new event instance. |
| 16 | 16 | * |
| 17 | + * @param \Illuminate\Http\Request $para |
|
| 17 | 18 | * @return void |
| 18 | 19 | */ |
| 19 | 20 | public function __construct($para) |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | /** |
| 63 | 63 | * Store a newly created resource in storage. |
| 64 | 64 | * |
| 65 | - * @return Response |
|
| 65 | + * @return \Illuminate\Http\RedirectResponse |
|
| 66 | 66 | */ |
| 67 | 67 | public function store(Request $request) { |
| 68 | 68 | $this->service->fill($request->input())->save(); |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * Update the specified resource in storage. |
| 97 | 97 | * |
| 98 | 98 | * @param int $id |
| 99 | - * @return Response |
|
| 99 | + * @return \Illuminate\Http\RedirectResponse |
|
| 100 | 100 | */ |
| 101 | 101 | public function update($id, Request $request) { |
| 102 | 102 | $service = $this->service->where('id',$id)->first(); |
@@ -78,6 +78,9 @@ |
||
| 78 | 78 | } |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | + /** |
|
| 82 | + * @param string $data |
|
| 83 | + */ |
|
| 81 | 84 | public function SubmitData($data, $url, $access_code, $working_key) { |
| 82 | 85 | try { |
| 83 | 86 | $crypto = new Crypto; |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | * |
| 67 | 67 | * @param Request $request |
| 68 | 68 | * |
| 69 | - * @return Response |
|
| 69 | + * @return \Illuminate\Http\RedirectResponse |
|
| 70 | 70 | */ |
| 71 | 71 | public function postReset(Request $request) |
| 72 | 72 | { |
@@ -138,7 +138,6 @@ discard block |
||
| 138 | 138 | /** |
| 139 | 139 | * Remove the specified resource from storage. |
| 140 | 140 | * |
| 141 | - * @param int $id |
|
| 142 | 141 | * |
| 143 | 142 | * @return Response |
| 144 | 143 | */ |
@@ -185,6 +184,9 @@ discard block |
||
| 185 | 184 | } |
| 186 | 185 | } |
| 187 | 186 | |
| 187 | + /** |
|
| 188 | + * @param string $subject |
|
| 189 | + */ |
|
| 188 | 190 | public function Mailing($from, $to, $data, $subject, $replace = [], $fromname = '', $toname = '', $cc = [], $attach = []) |
| 189 | 191 | { |
| 190 | 192 | try { |
@@ -283,6 +285,9 @@ discard block |
||
| 283 | 285 | $this->Mailing($from, $to, $data, $subject, 'from', 'to', $cc, $attachments, $replace); |
| 284 | 286 | } |
| 285 | 287 | |
| 288 | + /** |
|
| 289 | + * @param integer $id |
|
| 290 | + */ |
|
| 286 | 291 | public function show($id) |
| 287 | 292 | { |
| 288 | 293 | try { |
@@ -148,7 +148,6 @@ discard block |
||
| 148 | 148 | /** |
| 149 | 149 | * Remove the specified resource from storage. |
| 150 | 150 | * |
| 151 | - * @param int $id |
|
| 152 | 151 | * |
| 153 | 152 | * @return Response |
| 154 | 153 | */ |
@@ -209,6 +208,9 @@ discard block |
||
| 209 | 208 | } |
| 210 | 209 | } |
| 211 | 210 | |
| 211 | + /** |
|
| 212 | + * @param FrontendPage $model |
|
| 213 | + */ |
|
| 212 | 214 | public function Result($search, $model) |
| 213 | 215 | { |
| 214 | 216 | try { |
@@ -92,7 +92,6 @@ |
||
| 92 | 92 | /** |
| 93 | 93 | * Remove the specified resource from storage. |
| 94 | 94 | * |
| 95 | - * @param int $id |
|
| 96 | 95 | * |
| 97 | 96 | * @return Response |
| 98 | 97 | */ |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | /** |
| 115 | 115 | * Store a newly created resource in storage. |
| 116 | 116 | * |
| 117 | - * @return Response |
|
| 117 | + * @return \Illuminate\Http\RedirectResponse |
|
| 118 | 118 | */ |
| 119 | 119 | public function store(OrderRequest $request) |
| 120 | 120 | { |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | * |
| 179 | 179 | * @param int $id |
| 180 | 180 | * |
| 181 | - * @return Response |
|
| 181 | + * @return \Illuminate\Http\RedirectResponse |
|
| 182 | 182 | */ |
| 183 | 183 | public function update($id, OrderRequest $request) |
| 184 | 184 | { |
@@ -195,7 +195,6 @@ discard block |
||
| 195 | 195 | /** |
| 196 | 196 | * Remove the specified resource from storage. |
| 197 | 197 | * |
| 198 | - * @param int $id |
|
| 199 | 198 | * |
| 200 | 199 | * @return Response |
| 201 | 200 | */ |
@@ -248,7 +247,7 @@ discard block |
||
| 248 | 247 | * |
| 249 | 248 | * @param Request $request |
| 250 | 249 | * |
| 251 | - * @return type |
|
| 250 | + * @return \Illuminate\Http\RedirectResponse |
|
| 252 | 251 | */ |
| 253 | 252 | public function orderExecute(Request $request) |
| 254 | 253 | { |
@@ -385,7 +384,7 @@ discard block |
||
| 385 | 384 | * |
| 386 | 385 | * @throws \Exception |
| 387 | 386 | * |
| 388 | - * @return type |
|
| 387 | + * @return string|null |
|
| 389 | 388 | */ |
| 390 | 389 | public function checkProductForSerialKey($product_id) |
| 391 | 390 | { |
@@ -406,7 +405,7 @@ discard block |
||
| 406 | 405 | * |
| 407 | 406 | * @throws \Exception |
| 408 | 407 | * |
| 409 | - * @return type |
|
| 408 | + * @return string|null |
|
| 410 | 409 | */ |
| 411 | 410 | public function generateSerialKey($product_type) |
| 412 | 411 | { |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | /** |
| 114 | 114 | * Store a newly created resource in storage. |
| 115 | 115 | * |
| 116 | - * @return Response |
|
| 116 | + * @return \Illuminate\Http\RedirectResponse |
|
| 117 | 117 | */ |
| 118 | 118 | public function store(Request $request) |
| 119 | 119 | { |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | * |
| 156 | 156 | * @param int $id |
| 157 | 157 | * |
| 158 | - * @return Response |
|
| 158 | + * @return \Illuminate\Http\RedirectResponse|null |
|
| 159 | 159 | */ |
| 160 | 160 | public function update($id, Request $request) |
| 161 | 161 | { |
@@ -171,7 +171,6 @@ discard block |
||
| 171 | 171 | /** |
| 172 | 172 | * Remove the specified resource from storage. |
| 173 | 173 | * |
| 174 | - * @param int $id |
|
| 175 | 174 | * |
| 176 | 175 | * @return Response |
| 177 | 176 | */ |