diff --git a/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php b/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php
index 530f88d4b5..f71efd750a 100644
--- a/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php
+++ b/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php
@@ -541,7 +541,7 @@ class YamlFileLoader extends FileLoader
throw new InvalidArgumentException(sprintf('Invalid method call for service "%s", did you forgot a leading dash before "%s: ..." in "%s"?', $id, $k, $file));
}
- if (isset($call['method'])) {
+ if (isset($call['method']) && \is_string($call['method'])) {
$method = $call['method'];
$args = $call['arguments'] ?? [];
$returnsClone = $call['returns_clone'] ?? false;
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/alt_call.yaml b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/alt_call.yaml
index 26cf9e628c..fb7f3440de 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/alt_call.yaml
+++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/alt_call.yaml
@@ -3,3 +3,5 @@ services:
calls:
- foo: [1, 2, 3]
- bar: !returns_clone [1, 2, 3]
+ - method:
+ - url
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php b/src/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php
index 5c2b29559e..ecb7ac13b0 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php
@@ -958,6 +958,7 @@ class YamlFileLoaderTest extends TestCase
$expected = [
['foo', [1, 2, 3]],
['bar', [1, 2, 3], true],
+ ['method', ['url']],
];
$this->assertSame($expected, $container->getDefinition('foo')->getMethodCalls());
diff --git a/src/Symfony/Component/Form/Resources/translations/validators.be.xlf b/src/Symfony/Component/Form/Resources/translations/validators.be.xlf
index 004ba594b3..0513ca1dc9 100644
--- a/src/Symfony/Component/Form/Resources/translations/validators.be.xlf
+++ b/src/Symfony/Component/Form/Resources/translations/validators.be.xlf
@@ -14,6 +14,126 @@
CSRF-токен не сапраўдны. Калі ласка, паспрабуйце яшчэ раз адправіць форму.
+
+
+ Значэнне не з'яўляецца карэктным HTML5 колерам.
+
+
+
+ Калі ласка, увядзіце карэктную дату нараджэння.
+
+
+
+ Выбраны варыянт некарэктны.
+
+
+
+ Калекцыя некарэктна.
+
+
+
+ Калі ласка, выберыце карэктны колер.
+
+
+
+ Калі ласка, выберыце карэктную краіну.
+
+
+
+ Калі ласка, выберыце карэктную валюту.
+
+
+
+ Калі ласка, выберыце карэктны інтэрвал дат.
+
+
+
+ Калі ласка, увядзіце карэктныя дату і час.
+
+
+
+ Калі ласка, увядзіце карэктную дату.
+
+
+
+ Калі ласка, выберыце карэктны файл.
+
+
+
+ Значэнне схаванага поля некарэктна.
+
+
+
+ Калі ласка, увядзіце цэлы лік.
+
+
+
+ Калі ласка, выберыце карэктную мову.
+
+
+
+ Калі ласка, выберыце карэктную лакаль.
+
+
+
+ Калі ласка, увядзіце карэктную колькасць грошай.
+
+
+
+ Калі ласка, увядзіце нумар.
+
+
+
+ Няправільны пароль.
+
+
+
+ Калі ласка, увядзіце працэнтнае значэнне.
+
+
+
+ Значэнні не супадаюць.
+
+
+
+ Калі ласка, увядзіце карэктны час.
+
+
+
+ Калі ласка, выберыце карэктны гадзінны пояс.
+
+
+
+ Калі ласка, увядзіце карэктны URL.
+
+
+
+ Калі ласка, увядзіце карэктны пошукавы запыт.
+
+
+
+ Калі ласка, увядзіце карэктны нумар тэлефона.
+
+
+
+ Флажок мае некарэктнае значэнне.
+
+
+
+ Калі ласка, увядзіце карэктны адрас электроннай пошты.
+
+
+
+ Калі ласка, выберыце карэктны варыянт.
+
+
+
+ Калі ласка, выберыце карэктны дыяпазон.
+
+
+
+ Калі ласка, увядзіце карэктны тыдзень.
+