@@ -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 | { |
@@ -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 | |
@@ -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 | |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | /** |
| 152 | 152 | * Runs after store |
| 153 | 153 | * |
| 154 | - * @param $request |
|
| 154 | + * @param Request $request |
|
| 155 | 155 | */ |
| 156 | 156 | protected function afterStore($request){ |
| 157 | 157 | |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | /** |
| 161 | 161 | * Runs after update |
| 162 | 162 | * |
| 163 | - * @param $request |
|
| 163 | + * @param Request $request |
|
| 164 | 164 | */ |
| 165 | 165 | protected function afterUpdate($request){ |
| 166 | 166 | |
@@ -169,8 +169,6 @@ discard block |
||
| 169 | 169 | /** |
| 170 | 170 | * Save transaction |
| 171 | 171 | * |
| 172 | - * @param int $typeId |
|
| 173 | - * @param string $text |
|
| 174 | 172 | * @param $userId |
| 175 | 173 | * @param $amount |
| 176 | 174 | */ |
@@ -260,7 +258,7 @@ discard block |
||
| 260 | 258 | * Change ar result if necessary |
| 261 | 259 | * |
| 262 | 260 | * @param $arResult |
| 263 | - * @return mixed |
|
| 261 | + * @return string|null |
|
| 264 | 262 | */ |
| 265 | 263 | public function changeEditResultField($arResult){ |
| 266 | 264 | return $arResult; |
@@ -348,7 +346,7 @@ discard block |
||
| 348 | 346 | * Store a newly created resource in storage. |
| 349 | 347 | * |
| 350 | 348 | * @param Request $request |
| 351 | - * @return Response |
|
| 349 | + * @return \Illuminate\Http\RedirectResponse |
|
| 352 | 350 | */ |
| 353 | 351 | public function store(Request $request) { |
| 354 | 352 | |
@@ -498,7 +496,7 @@ discard block |
||
| 498 | 496 | * |
| 499 | 497 | * @param Request $request |
| 500 | 498 | * @param int $id |
| 501 | - * @return Response |
|
| 499 | + * @return \Illuminate\Http\RedirectResponse |
|
| 502 | 500 | */ |
| 503 | 501 | public function update(Request $request, $id) { |
| 504 | 502 | |
@@ -640,7 +638,7 @@ discard block |
||
| 640 | 638 | * Remove the specified resource from storage. |
| 641 | 639 | * |
| 642 | 640 | * @param int $id |
| 643 | - * @return Response |
|
| 641 | + * @return \Illuminate\Http\RedirectResponse |
|
| 644 | 642 | */ |
| 645 | 643 | |
| 646 | 644 | public function destroy($id) { |
@@ -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 |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * Register any other events for your application. |
| 23 | 23 | * |
| 24 | - * @param \Illuminate\Contracts\Events\Dispatcher $events |
|
| 25 | 24 | * @return void |
| 26 | 25 | */ |
| 27 | 26 | public function boot() |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Providers; |
| 4 | 4 | |
| 5 | -use Illuminate\Contracts\Events\Dispatcher as DispatcherContract; |
|
| 6 | 5 | use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; |
| 7 | 6 | |
| 8 | 7 | class EventServiceProvider extends ServiceProvider |
@@ -19,7 +19,6 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * Define your route model bindings, pattern filters, etc. |
| 21 | 21 | * |
| 22 | - * @param \Illuminate\Routing\Router $router |
|
| 23 | 22 | * @return void |
| 24 | 23 | */ |
| 25 | 24 | public function boot() |
@@ -25,7 +25,6 @@ |
||
| 25 | 25 | * |
| 26 | 26 | * @param \Illuminate\Http\Request $request |
| 27 | 27 | * @param Closure $next |
| 28 | - * @param array $models |
|
| 29 | 28 | * @return mixed |
| 30 | 29 | */ |
| 31 | 30 | public function handle(Request $request, Closure $next) |