@@ -85,12 +85,12 @@ discard block |
||
| 85 | 85 | /** |
| 86 | 86 | * Get a config value. |
| 87 | 87 | * |
| 88 | - * @param $string |
|
| 88 | + * @param string $string |
|
| 89 | 89 | * @param array $children |
| 90 | 90 | * |
| 91 | 91 | * @throws \Exception |
| 92 | 92 | * |
| 93 | - * @return mixed |
|
| 93 | + * @return string|null |
|
| 94 | 94 | */ |
| 95 | 95 | protected function config($string, $children = []) |
| 96 | 96 | { |
@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | * |
| 231 | 231 | * @param null $name |
| 232 | 232 | * |
| 233 | - * @return mixed |
|
| 233 | + * @return string |
|
| 234 | 234 | */ |
| 235 | 235 | protected function makeSessionVarName($name = null) |
| 236 | 236 | { |
@@ -250,9 +250,9 @@ discard block |
||
| 250 | 250 | /** |
| 251 | 251 | * Make a JSON response. |
| 252 | 252 | * |
| 253 | - * @param $statusCode |
|
| 253 | + * @param integer $statusCode |
|
| 254 | 254 | * |
| 255 | - * @return JsonResponse |
|
| 255 | + * @return IlluminateJsonResponse |
|
| 256 | 256 | */ |
| 257 | 257 | protected function makeJsonResponse($statusCode) |
| 258 | 258 | { |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | /** |
| 279 | 279 | * Make a web response. |
| 280 | 280 | * |
| 281 | - * @param $statusCode |
|
| 281 | + * @param integer $statusCode |
|
| 282 | 282 | * |
| 283 | 283 | * @return \Illuminate\Http\Response |
| 284 | 284 | */ |
@@ -329,9 +329,9 @@ discard block |
||
| 329 | 329 | /** |
| 330 | 330 | * Get a session var value. |
| 331 | 331 | * |
| 332 | - * @param null $var |
|
| 332 | + * @param string $var |
|
| 333 | 333 | * |
| 334 | - * @return mixed |
|
| 334 | + * @return null|Carbon |
|
| 335 | 335 | */ |
| 336 | 336 | public function sessionGet($var = null) |
| 337 | 337 | { |
@@ -343,7 +343,7 @@ discard block |
||
| 343 | 343 | /** |
| 344 | 344 | * Put a var value to the current session. |
| 345 | 345 | * |
| 346 | - * @param $var |
|
| 346 | + * @param string $var |
|
| 347 | 347 | * @param $value |
| 348 | 348 | * |
| 349 | 349 | * @return mixed |
@@ -92,14 +92,14 @@ |
||
| 92 | 92 | * |
| 93 | 93 | * @return mixed |
| 94 | 94 | */ |
| 95 | - protected function config($string, $children = []) |
|
| 95 | + protected function config($string, $children = [ ]) |
|
| 96 | 96 | { |
| 97 | 97 | if (is_null(config(static::CONFIG_PACKAGE_NAME))) { |
| 98 | 98 | throw new \Exception('Config not found'); |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | return config( |
| 102 | - implode('.', array_merge([static::CONFIG_PACKAGE_NAME, $string], (array) $children)) |
|
| 102 | + implode('.', array_merge([ static::CONFIG_PACKAGE_NAME, $string ], (array) $children)) |
|
| 103 | 103 | ); |
| 104 | 104 | } |
| 105 | 105 | |