@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * Store function override |
36 | 36 | * |
37 | 37 | * @param Request $request |
38 | - * @return Response |
|
38 | + * @return \Illuminate\Http\RedirectResponse |
|
39 | 39 | */ |
40 | 40 | public function store(Request $request) |
41 | 41 | { |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * |
65 | 65 | * @param Request $request |
66 | 66 | * @param integer $id |
67 | - * @return Response |
|
67 | + * @return \Illuminate\Http\RedirectResponse |
|
68 | 68 | */ |
69 | 69 | public function update(Request $request, $id) |
70 | 70 | { |
@@ -16,7 +16,6 @@ |
||
16 | 16 | |
17 | 17 | use App\Helpers; |
18 | 18 | use Illuminate\Http\Request; |
19 | - |
|
20 | 19 | use App\Http\Controllers\Controller; |
21 | 20 | use App\Image; |
22 | 21 | use Illuminate\Support\Facades\Response; |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * |
103 | 103 | * @param string $module |
104 | 104 | * @param array $possibleParameters |
105 | - * @return boolean |
|
105 | + * @return false|string |
|
106 | 106 | */ |
107 | 107 | public static function resetSaveIndexParameters($module, $possibleParameters = ['search', 'orderbycolumn', 'orderbytype', 'relation']) |
108 | 108 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Image category link |
100 | 100 | * |
101 | - * @return object |
|
101 | + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
102 | 102 | */ |
103 | 103 | public function imagecategories(){ |
104 | 104 | |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | /** |
109 | 109 | * Slide link |
110 | 110 | * |
111 | - * @return object |
|
111 | + * @return \Illuminate\Database\Eloquent\Relations\HasMany |
|
112 | 112 | */ |
113 | 113 | public function slides(){ |
114 | 114 | |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | /** |
119 | 119 | * Article category |
120 | 120 | * |
121 | - * @return object |
|
121 | + * @return \Illuminate\Database\Eloquent\Relations\HasMany |
|
122 | 122 | */ |
123 | 123 | public function articlecategories(){ |
124 | 124 | |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | /** |
129 | 129 | * Article category |
130 | 130 | * |
131 | - * @return object |
|
131 | + * @return \Illuminate\Database\Eloquent\Relations\HasMany |
|
132 | 132 | */ |
133 | 133 | public function pages(){ |
134 | 134 |
@@ -80,7 +80,7 @@ |
||
80 | 80 | /** |
81 | 81 | * Image link |
82 | 82 | * |
83 | - * @return object |
|
83 | + * @return \Illuminate\Database\Eloquent\Relations\HasMany |
|
84 | 84 | */ |
85 | 85 | public function images(){ |
86 | 86 |
@@ -151,8 +151,6 @@ discard block |
||
151 | 151 | /** |
152 | 152 | * Save transaction |
153 | 153 | * |
154 | - * @param int $typeId |
|
155 | - * @param string $text |
|
156 | 154 | * @param $userId |
157 | 155 | * @param $amount |
158 | 156 | */ |
@@ -242,7 +240,7 @@ discard block |
||
242 | 240 | * Change ar result if necessary |
243 | 241 | * |
244 | 242 | * @param $arResult |
245 | - * @return mixed |
|
243 | + * @return string|null |
|
246 | 244 | */ |
247 | 245 | public function changeEditResultField($arResult){ |
248 | 246 | return $arResult; |
@@ -319,7 +317,7 @@ discard block |
||
319 | 317 | * Store a newly created resource in storage. |
320 | 318 | * |
321 | 319 | * @param Request $request |
322 | - * @return Response |
|
320 | + * @return \Illuminate\Http\RedirectResponse |
|
323 | 321 | */ |
324 | 322 | public function store(Request $request) { |
325 | 323 | |
@@ -459,7 +457,7 @@ discard block |
||
459 | 457 | * |
460 | 458 | * @param Request $request |
461 | 459 | * @param int $id |
462 | - * @return Response |
|
460 | + * @return \Illuminate\Http\RedirectResponse |
|
463 | 461 | */ |
464 | 462 | public function update(Request $request, $id) { |
465 | 463 | |
@@ -591,7 +589,7 @@ discard block |
||
591 | 589 | * Remove the specified resource from storage. |
592 | 590 | * |
593 | 591 | * @param int $id |
594 | - * @return Response |
|
592 | + * @return \Illuminate\Http\RedirectResponse |
|
595 | 593 | */ |
596 | 594 | |
597 | 595 | public function destroy($id) { |
@@ -20,8 +20,6 @@ |
||
20 | 20 | use Illuminate\Support\Facades\View; |
21 | 21 | use App\Http\Controllers\Controller; |
22 | 22 | use Illuminate\Database\Eloquent\Builder; |
23 | -use Illuminate\Support\Facades\DB; |
|
24 | -use Carbon\Carbon; |
|
25 | 23 | use App\Transaction; |
26 | 24 | use App\User; |
27 | 25 |
@@ -67,6 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | /** |
69 | 69 | * Reset all session fields |
70 | + * @param \Illuminate\Http\Request $request |
|
70 | 71 | */ |
71 | 72 | protected function _resetSessionFields($request){ |
72 | 73 | |
@@ -130,6 +131,9 @@ discard block |
||
130 | 131 | return Page::findOrFail($id); |
131 | 132 | } |
132 | 133 | |
134 | + /** |
|
135 | + * @param integer $id |
|
136 | + */ |
|
133 | 137 | protected function _getSettings($id){ |
134 | 138 | |
135 | 139 | $settings = Settings::find($id); |
@@ -145,8 +149,6 @@ discard block |
||
145 | 149 | /** |
146 | 150 | * Save transaction |
147 | 151 | * |
148 | - * @param int $typeId |
|
149 | - * @param string $text |
|
150 | 152 | * @param $userId |
151 | 153 | * @param $amount |
152 | 154 | */ |
@@ -15,7 +15,6 @@ |
||
15 | 15 | namespace App\Http\Controllers\Frontend; |
16 | 16 | |
17 | 17 | |
18 | -use App\Application; |
|
19 | 18 | use App\Campaign; |
20 | 19 | use App\Payment; |
21 | 20 | use App\Transaction; |
@@ -19,7 +19,6 @@ |
||
19 | 19 | /** |
20 | 20 | * Register any application authentication / authorization services. |
21 | 21 | * |
22 | - * @param \Illuminate\Contracts\Auth\Access\Gate $gate |
|
23 | 22 | * @return void |
24 | 23 | */ |
25 | 24 | public function boot() |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace App\Providers; |
4 | 4 | |
5 | -use Illuminate\Contracts\Auth\Access\Gate as GateContract; |
|
6 | 5 | use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; |
7 | 6 | |
8 | 7 | class AuthServiceProvider extends ServiceProvider |