Skip to content

Commit 2b0aaca

Browse files
Merge branch '2.8' into 3.0
* 2.8: `@throws` annotations should go after `@return` Fix merge updated VERSION for 2.3.42 update CONTRIBUTORS for 2.3.42 updated CHANGELOG for 2.3.42 Revert "bug #18908 [DependencyInjection] force enabling the external XML entity loaders (xabbuh)" Partial revert of previous PR [DependencyInjection] Skip deep reference check for 'service_container' Catch \Throwable [Serializer] Add missing @throws annotations Fix for #18843 force enabling the external XML entity loaders Removed UTC specification with timestamp Conflicts: CHANGELOG-2.3.md src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php src/Symfony/Bundle/TwigBundle/Extension/AssetsExtension.php src/Symfony/Component/Config/Loader/FileLoader.php src/Symfony/Component/DependencyInjection/Container.php src/Symfony/Component/DependencyInjection/ContainerBuilder.php src/Symfony/Component/Finder/Expression/Expression.php src/Symfony/Component/Finder/Finder.php src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
2 parents f7a07af + 8a1648d commit 2b0aaca

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

Extractor/AbstractFileExtractor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ private function toSplFileInfo($file)
5454
/**
5555
* @param string $file
5656
*
57-
* @throws \InvalidArgumentException
58-
*
5957
* @return bool
58+
*
59+
* @throws \InvalidArgumentException
6060
*/
6161
protected function isFile($file)
6262
{

Loader/XliffFileLoader.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ private function utf8ToCharset($content, $encoding = null)
160160
}
161161

162162
/**
163+
* Validates and parses the given file into a DOMDocument.
164+
*
163165
* @param string $file
164166
* @param \DOMDocument $dom
165167
* @param string $schema source of the schema

TranslatorBagInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ interface TranslatorBagInterface
2323
*
2424
* @param string|null $locale The locale or null to use the default
2525
*
26-
* @throws \InvalidArgumentException If the locale contains invalid characters
27-
*
2826
* @return MessageCatalogueInterface
27+
*
28+
* @throws \InvalidArgumentException If the locale contains invalid characters
2929
*/
3030
public function getCatalogue($locale = null);
3131
}

TranslatorInterface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ interface TranslatorInterface
2626
* @param string|null $domain The domain for the message or null to use the default
2727
* @param string|null $locale The locale or null to use the default
2828
*
29-
* @throws \InvalidArgumentException If the locale contains invalid characters
30-
*
3129
* @return string The translated string
30+
*
31+
* @throws \InvalidArgumentException If the locale contains invalid characters
3232
*/
3333
public function trans($id, array $parameters = array(), $domain = null, $locale = null);
3434

@@ -41,9 +41,9 @@ public function trans($id, array $parameters = array(), $domain = null, $locale
4141
* @param string|null $domain The domain for the message or null to use the default
4242
* @param string|null $locale The locale or null to use the default
4343
*
44-
* @throws \InvalidArgumentException If the locale contains invalid characters
45-
*
4644
* @return string The translated string
45+
*
46+
* @throws \InvalidArgumentException If the locale contains invalid characters
4747
*/
4848
public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null);
4949

0 commit comments

Comments
 (0)