@@ -37,7 +37,6 @@ |
||
| 37 | 37 | * Parses a .env key |
| 38 | 38 | * |
| 39 | 39 | * @param string $key The key string |
| 40 | - * @param int $line_num The line num of the key |
|
| 41 | 40 | * |
| 42 | 41 | * @throws \M1\Env\Exception\ParseException If key contains a character that isn't alphanumeric or a _ |
| 43 | 42 | * |
@@ -75,6 +75,7 @@ discard block |
||
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | 77 | * {@inheritdoc} |
| 78 | + * @param $parser |
|
| 78 | 79 | */ |
| 79 | 80 | public function __construct($parser) |
| 80 | 81 | { |
@@ -164,7 +165,7 @@ discard block |
||
| 164 | 165 | * |
| 165 | 166 | * @throws \M1\Env\Exception\ParseException If the string has a missing end quote |
| 166 | 167 | * |
| 167 | - * @return array The matches based on the regex and the value |
|
| 168 | + * @return string[] The matches based on the regex and the value |
|
| 168 | 169 | */ |
| 169 | 170 | private function fetchStringMatches($value, $regex, $symbol) |
| 170 | 171 | { |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | |
| 21 | 21 | use M1\Env\Exception\ParseException; |
| 22 | 22 | use M1\Env\Traits\ValueCheckTrait; |
| 23 | -use M1\Env\Traits\ValueTypeCheckable; |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * The value parser for Env |