We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56d0754 commit 2bc28c5Copy full SHA for 2bc28c5
Compat/src/Yaml/Inline.php
@@ -45,7 +45,7 @@ public static function parse($value, $exceptionOnInvalidType = false, $objectSup
45
self::$objectSupport = $objectSupport;
46
self::$objectForMap = $objectForMap;
47
48
- $value = trim($value);
+ $value = trim($value ?? '');
49
50
if ('' === $value) {
51
return '';
0 commit comments