X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FComponent%2FSerialization%2FYamlPecl.php;fp=web%2Fcore%2Flib%2FDrupal%2FComponent%2FSerialization%2FYamlPecl.php;h=8200f49ff03e71b1da1742666188308dfb0da262;hp=a01f980fd78fc212d856ed769bc986e5dd45adef;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/lib/Drupal/Component/Serialization/YamlPecl.php b/web/core/lib/Drupal/Component/Serialization/YamlPecl.php index a01f980fd..8200f49ff 100644 --- a/web/core/lib/Drupal/Component/Serialization/YamlPecl.php +++ b/web/core/lib/Drupal/Component/Serialization/YamlPecl.php @@ -47,7 +47,7 @@ class YamlPecl implements SerializationInterface { // and then restore it after decoding has occurred. This allows us to turn // parsing errors into a throwable exception. // @see Drupal\Component\Serialization\Exception\InvalidDataTypeException - // @see http://php.net/manual/en/class.errorexception.php + // @see http://php.net/manual/class.errorexception.php set_error_handler([__CLASS__, 'errorHandler']); $ndocs = 0; $data = yaml_parse($raw, 0, $ndocs, [