diff options
Diffstat (limited to 'src/Types/KeyValue.php')
-rw-r--r-- | src/Types/KeyValue.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/Types/KeyValue.php b/src/Types/KeyValue.php index e17dc4d..54b0360 100644 --- a/src/Types/KeyValue.php +++ b/src/Types/KeyValue.php @@ -1,4 +1,6 @@ <?php +declare(strict_types=1); + /** * @author: Alexander Kiryukhin <alexander@kiryukhin.su> * @license: MIT @@ -6,7 +8,10 @@ namespace NeonXP\Dotenv\Types; - +/** + * Class KeyValue + * @package NeonXP\Dotenv\Types + */ class KeyValue { /** @@ -24,7 +29,7 @@ class KeyValue * @param string $key * @param mixed $value */ - public function __construct(string $key, mixed $value) + public function __construct(string $key, $value) { $this->key = $key; $this->value = $value; @@ -41,7 +46,7 @@ class KeyValue /** * @return mixed */ - public function getValue(): mixed + public function getValue() { return $this->value; } |