| @@ -117,7 +117,7 @@ | ||
| 117 | 117 | /** | 
| 118 | 118 | * Add form attributes. | 
| 119 | 119 | * | 
| 120 | - * @param string|array $attr | |
| 120 | + * @param string $attr | |
| 121 | 121 | * @param string $value | 
| 122 | 122 | * | 
| 123 | 123 | * @return $this | 
| @@ -240,7 +240,7 @@ discard block | ||
| 240 | 240 | /** | 
| 241 | 241 | * Resolve perPage for pagination. | 
| 242 | 242 | * | 
| 243 | - * @param array|null $paginate | |
| 243 | + * @param Model $paginate | |
| 244 | 244 | * | 
| 245 | 245 | * @return array | 
| 246 | 246 | */ | 
| @@ -262,7 +262,7 @@ discard block | ||
| 262 | 262 | /** | 
| 263 | 263 | * Find query by method name. | 
| 264 | 264 | * | 
| 265 | - * @param $method | |
| 265 | + * @param string $method | |
| 266 | 266 | * | 
| 267 | 267 | * @return static | 
| 268 | 268 | */ | 
| @@ -25,7 +25,7 @@ | ||
| 25 | 25 | /** | 
| 26 | 26 | * Execute the console command. | 
| 27 | 27 | * | 
| 28 | - * @return void | |
| 28 | + * @return false|null | |
| 29 | 29 | */ | 
| 30 | 30 | public function handle() | 
| 31 | 31 |      { | 
| @@ -131,7 +131,7 @@ | ||
| 131 | 131 | /** | 
| 132 | 132 | * Get options of HTTP methods select field. | 
| 133 | 133 | * | 
| 134 | - * @return array | |
| 134 | + * @return callable | |
| 135 | 135 | */ | 
| 136 | 136 | protected function getHttpMethodsOptions() | 
| 137 | 137 |      { | 
| @@ -278,7 +278,7 @@ discard block | ||
| 278 | 278 | * | 
| 279 | 279 | * @param $id | 
| 280 | 280 | * | 
| 281 | - * @return mixed | |
| 281 | + * @return boolean | |
| 282 | 282 | */ | 
| 283 | 283 | public function destroy($id) | 
| 284 | 284 |      { | 
| @@ -317,7 +317,7 @@ discard block | ||
| 317 | 317 | /** | 
| 318 | 318 | * Store a new record. | 
| 319 | 319 | * | 
| 320 | - * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|\Illuminate\Http\JsonResponse | |
| 320 | + * @return Response | |
| 321 | 321 | */ | 
| 322 | 322 | public function store() | 
| 323 | 323 |      { | 
| @@ -396,7 +396,7 @@ discard block | ||
| 396 | 396 | * | 
| 397 | 397 | * @param array $data | 
| 398 | 398 | * | 
| 399 | - * @return mixed | |
| 399 | + * @return Response|null | |
| 400 | 400 | */ | 
| 401 | 401 | protected function prepare($data = []) | 
| 402 | 402 |      { | 
| @@ -854,7 +854,7 @@ discard block | ||
| 854 | 854 | /** | 
| 855 | 855 | * Set saved callback. | 
| 856 | 856 | * | 
| 857 | - * @param callable $callback | |
| 857 | + * @param Closure $callback | |
| 858 | 858 | * | 
| 859 | 859 | * @return void | 
| 860 | 860 | */ | 
| @@ -132,7 +132,7 @@ discard block | ||
| 132 | 132 | /** | 
| 133 | 133 | * Returns builder is $mode. | 
| 134 | 134 | * | 
| 135 | - * @param $mode | |
| 135 | + * @param string $mode | |
| 136 | 136 | * | 
| 137 | 137 | * @return bool | 
| 138 | 138 | */ | 
| @@ -154,6 +154,7 @@ discard block | ||
| 154 | 154 | } | 
| 155 | 155 | |
| 156 | 156 | /** | 
| 157 | + * @param integer $slice | |
| 157 | 158 | * @return string | 
| 158 | 159 | */ | 
| 159 | 160 | public function getResource($slice = null) | 
| @@ -21,7 +21,7 @@ | ||
| 21 | 21 | * | 
| 22 | 22 | * @param array|callable|string $options | 
| 23 | 23 | * | 
| 24 | - * @return $this|mixed | |
| 24 | + * @return Checkbox | |
| 25 | 25 | */ | 
| 26 | 26 | public function options($options = []) | 
| 27 | 27 |      { | 
| @@ -28,7 +28,7 @@ | ||
| 28 | 28 | * | 
| 29 | 29 | * @param string $target | 
| 30 | 30 | * | 
| 31 | - * @return mixed | |
| 31 | + * @return string | |
| 32 | 32 | */ | 
| 33 | 33 | public function callInterventionMethods($target) | 
| 34 | 34 |      { | 
| @@ -8,6 +8,9 @@ discard block | ||
| 8 | 8 | |
| 9 | 9 | protected $append; | 
| 10 | 10 | |
| 11 | + /** | |
| 12 | + * @param string $string | |
| 13 | + */ | |
| 11 | 14 | public function prepend($string) | 
| 12 | 15 |      { | 
| 13 | 16 |          if (is_null($this->prepend)) { | 
| @@ -17,6 +20,9 @@ discard block | ||
| 17 | 20 | return $this; | 
| 18 | 21 | } | 
| 19 | 22 | |
| 23 | + /** | |
| 24 | + * @param string $string | |
| 25 | + */ | |
| 20 | 26 | public function append($string) | 
| 21 | 27 |      { | 
| 22 | 28 |          if (is_null($this->append)) { | 
| @@ -33,6 +39,9 @@ discard block | ||
| 33 | 39 | } | 
| 34 | 40 | } | 
| 35 | 41 | |
| 42 | + /** | |
| 43 | + * @param string $attribute | |
| 44 | + */ | |
| 36 | 45 | protected function defaultAttribute($attribute, $value) | 
| 37 | 46 |      { | 
| 38 | 47 |          if (!array_key_exists($attribute, $this->attributes)) { |