@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | /** |
| 14 | 14 | * Make a JSON response. |
| 15 | 15 | * |
| 16 | - * @param $statusCode |
|
| 16 | + * @param integer $statusCode |
|
| 17 | 17 | * |
| 18 | 18 | * @return IlluminateJsonResponse |
| 19 | 19 | */ |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | /** |
| 42 | 42 | * Make a web response. |
| 43 | 43 | * |
| 44 | - * @param $statusCode |
|
| 44 | + * @param integer $statusCode |
|
| 45 | 45 | * |
| 46 | 46 | * @return \Illuminate\Http\Response |
| 47 | 47 | */ |
@@ -98,5 +98,10 @@ discard block |
||
| 98 | 98 | |
| 99 | 99 | abstract public function getRequest(); |
| 100 | 100 | |
| 101 | + /** |
|
| 102 | + * @param string $string |
|
| 103 | + * |
|
| 104 | + * @return string|null |
|
| 105 | + */ |
|
| 101 | 106 | abstract protected function config($string, $children = []); |
| 102 | 107 | } |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * |
| 10 | 10 | * @param null $name |
| 11 | 11 | * |
| 12 | - * @return mixed |
|
| 12 | + * @return string |
|
| 13 | 13 | */ |
| 14 | 14 | protected function makeSessionVarName($name = null) |
| 15 | 15 | { |
@@ -20,6 +20,7 @@ discard block |
||
| 20 | 20 | * Get a session var value. |
| 21 | 21 | * |
| 22 | 22 | * @param null $var |
| 23 | + * @param boolean $default |
|
| 23 | 24 | * |
| 24 | 25 | * @return mixed |
| 25 | 26 | */ |
@@ -73,6 +74,9 @@ discard block |
||
| 73 | 74 | ); |
| 74 | 75 | } |
| 75 | 76 | |
| 77 | + /** |
|
| 78 | + * @param string $string |
|
| 79 | + */ |
|
| 76 | 80 | abstract protected function config($string, $children = []); |
| 77 | 81 | |
| 78 | 82 | abstract public function getRequest(); |