From 623c71a426d793c46f87c521303f2fe065309ced Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 11 Nov 2019 20:38:43 +0300 Subject: [PATCH] refactor(core): Parser API's refactoring #288 --- flextype/parsers/Yaml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/parsers/Yaml.php b/flextype/parsers/Yaml.php index f12f167d..2450502d 100644 --- a/flextype/parsers/Yaml.php +++ b/flextype/parsers/Yaml.php @@ -105,7 +105,7 @@ class Yaml public static function decode(string $input) : array { // Try native PECL YAML PHP extension first if available. - if (function_exists('yaml_parse') && self::$native) { + if (\function_exists('yaml_parse') && self::$native) { // Safely decode YAML. $saved = @ini_get('yaml.decode_php'); @ini_set('yaml.decode_php', '0');