| @@ -44,7 +44,6 @@ discard block | ||
| 44 | 44 | /** | 
| 45 | 45 | * Private constructor. | 
| 46 | 46 | * | 
| 47 | - * @param array $configArray | |
| 48 | 47 | */ | 
| 49 | 48 | private function __construct() | 
| 50 | 49 |      { | 
| @@ -69,7 +68,6 @@ discard block | ||
| 69 | 68 | /** | 
| 70 | 69 | * Get instance of self with config array set. | 
| 71 | 70 | * | 
| 72 | - * @param array $configArray | |
| 73 | 71 | * | 
| 74 | 72 | * @return Config | 
| 75 | 73 | */ | 
| @@ -112,9 +110,9 @@ discard block | ||
| 112 | 110 | /** | 
| 113 | 111 | * Get a value by key from config. | 
| 114 | 112 | * | 
| 115 | - * @param string|array $key | |
| 113 | + * @param string $key | |
| 116 | 114 | * | 
| 117 | - * @return mixed | |
| 115 | + * @return string | |
| 118 | 116 | */ | 
| 119 | 117 | public function get($key) | 
| 120 | 118 |      { | 
| @@ -271,7 +269,7 @@ discard block | ||
| 271 | 269 | /** | 
| 272 | 270 | * Validate that a setting exists. | 
| 273 | 271 | * | 
| 274 | - * @param array $settings | |
| 272 | + * @param string[] $settings | |
| 275 | 273 | * | 
| 276 | 274 | * @throws InvalidConfig | 
| 277 | 275 | */ | 
| @@ -2,7 +2,6 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Yarak\Config; | 
| 4 | 4 | |
| 5 | -use Phalcon\DI; | |
| 6 | 5 | use Yarak\Exceptions\InvalidConfig; | 
| 7 | 6 | use Phalcon\Config as PhalconConfig; | 
| 8 | 7 | |