From 5b2e81264a5a4f0bf978b7f183e9fd8ab1bc69ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Burnichon?= Date: Wed, 17 Jun 2015 17:54:34 +0200 Subject: [PATCH] Add $objectForMap parameter. due to commit https://github.com/symfony/symfony/commit/238589d4e8135f896dd0cbc16fd1853bf6476422 --- .../Tests/Phrasea/Core/Configuration/YamlCountingParse.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Alchemy/Tests/Phrasea/Core/Configuration/YamlCountingParse.php b/tests/Alchemy/Tests/Phrasea/Core/Configuration/YamlCountingParse.php index ca784cb41d..4f5995f63c 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Configuration/YamlCountingParse.php +++ b/tests/Alchemy/Tests/Phrasea/Core/Configuration/YamlCountingParse.php @@ -34,14 +34,14 @@ class YamlCountingParse extends Yaml self::$parseCallable = $callable; } - public static function parse($input, $exceptionOnInvalidType = false, $objectSupport = false) + public static function parse($input, $exceptionOnInvalidType = false, $objectSupport = false, $objectForMap = false) { self::$parseCount++; if (null === self::$parseCallable) { - return parent::parse($input, $exceptionOnInvalidType, $objectSupport); + return parent::parse($input, $exceptionOnInvalidType, $objectSupport, $objectForMap); } - return call_user_func(self::$parseCallable, $input, $exceptionOnInvalidType, $objectSupport); + return call_user_func(self::$parseCallable, $input, $exceptionOnInvalidType, $objectSupport, $objectForMap); } }