@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | /** |
| 35 | 35 | * Create a new Config instance. |
| 36 | 36 | * |
| 37 | - * @param array $data |
|
| 37 | + * @param string $configKey |
|
| 38 | 38 | */ |
| 39 | 39 | public function __construct(Model $model, $configKey = null) |
| 40 | 40 | { |
@@ -72,8 +72,8 @@ discard block |
||
| 72 | 72 | * Set an attribute in config. |
| 73 | 73 | * |
| 74 | 74 | * @param string $key |
| 75 | - * @param mixed $value |
|
| 76 | - * @return bool |
|
| 75 | + * @param boolean $value |
|
| 76 | + * @return boolean|null |
|
| 77 | 77 | */ |
| 78 | 78 | public function set(string $key, $value) |
| 79 | 79 | { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * Remove an attribute from config. |
| 87 | 87 | * |
| 88 | 88 | * @param string $key |
| 89 | - * @return bool |
|
| 89 | + * @return Config |
|
| 90 | 90 | */ |
| 91 | 91 | public function remove(string $key) |
| 92 | 92 | { |
@@ -16,8 +16,7 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * Get a Config value object. |
| 18 | 18 | * |
| 19 | - * @param array $value |
|
| 20 | - * @return \App\Models\ValueObjects\Config |
|
| 19 | + * @return Config |
|
| 21 | 20 | */ |
| 22 | 21 | public function config() |
| 23 | 22 | { |