mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-26 23:06:04 +03:00
Fix Utils::printSafe
with bool true
This commit is contained in:
parent
ccecc3ce1b
commit
944ccebc08
@ -336,7 +336,7 @@ class Utils
|
|||||||
return 'false';
|
return 'false';
|
||||||
}
|
}
|
||||||
if (true === $var) {
|
if (true === $var) {
|
||||||
return 'false';
|
return 'true';
|
||||||
}
|
}
|
||||||
if (is_string($var)) {
|
if (is_string($var)) {
|
||||||
return "\"$var\"";
|
return "\"$var\"";
|
||||||
|
Loading…
Reference in New Issue
Block a user