Skip to content

Commit b07b572

Browse files
authored
fix: Empty values are treated as nulls
1 parent 342d970 commit b07b572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/josegonzalez/Dotenv/LoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function testParse()
143143
'STRING_FALSE' => 'false',
144144
'STRING_EMPTY' => '',
145145
'STRING_EMPTY_2' => '',
146-
'NO_VALUE_INLINE_COMMENT' => '',
146+
'NO_VALUE_INLINE_COMMENT' => null,
147147
), $environment);
148148

149149
$this->Loader->setFilepath($this->fixturePath . 'cake.env');

0 commit comments

Comments
 (0)