We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29d0a51 commit d2580a9Copy full SHA for d2580a9
1 file changed
src/Framework/Config/YamlService.php
@@ -16,6 +16,10 @@ class YamlService
16
*/
17
public static function parse($input)
18
{
19
+ if (empty($input)) {
20
+ return null;
21
+ }
22
+
23
if (extension_loaded("yaml")) {
24
return \yaml_parse($input);
25
}
0 commit comments