mirror of
https://github.com/leonelquinteros/php-toml.git
synced 2025-03-14 22:39:42 +01:00
commit
808575d680
@ -423,7 +423,7 @@ class Toml
|
||||
// Boolean
|
||||
if($val == 'true' || $val == 'false')
|
||||
{
|
||||
$parsedVal = (bool) $val;
|
||||
$parsedVal = ($val == 'true');
|
||||
}
|
||||
// Literal multi-line string
|
||||
elseif(substr($val, 0, 3) == "'''" && substr($val, -3) == "'''")
|
||||
|
Loading…
x
Reference in New Issue
Block a user