We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e0a1c commit 592f6c7Copy full SHA for 592f6c7
src/Validator.php
@@ -76,21 +76,21 @@ function ($value) {
76
'is not an integer'
77
);
78
}
79
-
+
80
/**
81
* Asset that each specified variable is a boolean.
82
*
83
* @return \Dotenv\Validator
84
*/
85
public function isBoolean()
86
{
87
- return $this->assertCallback(
88
- function($value) {
89
- return (filter_var($value, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE) !== NULL);
90
- },
91
- 'is not a boolean'
92
- );
93
- }
+ return $this->assertCallback(
+ function($value) {
+ return (filter_var($value, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE) !== NULL);
+ },
+ 'is not a boolean'
+ );
+ }
94
95
96
* Assert that each variable is amongst the given choices.
0 commit comments