Skip to content

Commit 8f7961f

Browse files
Updated boolean validation doc
Closes #414 Co-Authored-By: John Austin <[email protected]>
1 parent 82cccaa commit 8f7961f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ One or more environment variables failed assertions: FOO is not an integer
227227

228228
### Boolean Variables
229229

230-
You may need to ensure a variable is in the form of a boolean, accepting "On", "1", "Yes", "Off", "0" and "No". You may do the following:
230+
You may need to ensure a variable is in the form of a boolean, accepting "true", "false", "On", "1", "Yes", "Off", "0" and "No". You may do the following:
231231

232232
```php
233233
$dotenv->required('FOO')->isBoolean();

0 commit comments

Comments
 (0)