| @@ -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 | |
| @@ -153,8 +153,8 @@ | ||
| 153 | 153 | ]]); | 
| 154 | 154 | |
| 155 | 155 | /** | 
| 156 | - * Advertising | |
| 157 | - */ | |
| 156 | + * Advertising | |
| 157 | + */ | |
| 158 | 158 |      Route::resource('advert', 'Admin\AdvertController', ['names' => [ | 
| 159 | 159 | 'index' => 'advert.index', | 
| 160 | 160 | 'create' => 'advert.create', | 
| @@ -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 | */ | 
| @@ -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() | 
| @@ -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() | 
| @@ -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) | 
| @@ -144,7 +144,7 @@ discard block | ||
| 144 | 144 | * | 
| 145 | 145 | * @param integer $id | 
| 146 | 146 | * @param Request $request | 
| 147 | - * @return Response | |
| 147 | + * @return \Illuminate\Http\RedirectResponse | |
| 148 | 148 | */ | 
| 149 | 149 |      public function approve($id, Request $request){ | 
| 150 | 150 | |
| @@ -186,7 +186,7 @@ discard block | ||
| 186 | 186 | * | 
| 187 | 187 | * @param integer $id | 
| 188 | 188 | * @param Request $request | 
| 189 | - * @return Response | |
| 189 | + * @return \Illuminate\Http\RedirectResponse | |
| 190 | 190 | */ | 
| 191 | 191 |      public function spam($id, Request $request){ | 
| 192 | 192 | |