Merge pull request #2 from larowlan/patch-2
Add comment as requested - see comment for stof
This commit is contained in:
commit
afe827ae9c
@ -108,6 +108,8 @@ class Escaper
|
||||
*/
|
||||
private static function isValueRequiresSingleQuoting($value)
|
||||
{
|
||||
// Note that whilst 'y' and 'n' are not supported as valid Booleans,
|
||||
// they are escaped here for interoperability.
|
||||
return in_array(strtolower($value), array('null', '~', 'true', 'false', 'y', 'n', 'yes', 'no', 'on', 'off'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user