Removing weird strict comparison on different types
This commit is contained in:
parent
82cda1ecb0
commit
8bbc492978
@ -842,6 +842,6 @@ class XmlDriver extends FileDriver
|
||||
{
|
||||
$flag = (string)$element;
|
||||
|
||||
return ($flag === true || $flag == "true" || $flag == "1");
|
||||
return ($flag == "true" || $flag == "1");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user