Skip to content

Commit 3c370a3

Browse files
Merge branch '2.7' into 2.8
* 2.7: `@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: src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php src/Symfony/Component/Finder/Finder.php src/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.php src/Symfony/Component/Security/Acl/Domain/ObjectIdentity.php src/Symfony/Component/Security/Acl/Model/AclInterface.php src/Symfony/Component/Security/Acl/Model/MutableAclProviderInterface.php src/Symfony/Component/Security/Acl/Permission/MaskBuilder.php src/Symfony/Component/Translation/Loader/XliffFileLoader.php src/Symfony/Component/Yaml/Tests/InlineTest.php
2 parents c217d37 + 498a0b4 commit 3c370a3

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

Encoder/ChainDecoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function supportsDecoding($format)
5959
*
6060
* @return DecoderInterface
6161
*
62-
* @throws RuntimeException if no decoder is found
62+
* @throws RuntimeException If no decoder is found.
6363
*/
6464
private function getDecoder($format)
6565
{

Encoder/XmlEncoder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,8 @@ private function needsCdataWrapping($val)
461461
* @param mixed $val
462462
*
463463
* @return bool
464+
*
465+
* @throws UnexpectedValueException
464466
*/
465467
private function selectNodeType(\DOMNode $node, $val)
466468
{

Normalizer/DenormalizableInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ interface DenormalizableInterface
3333
* @param string|null $format The format is optionally given to be able to denormalize differently
3434
* based on different input formats
3535
* @param array $context options for denormalizing
36+
*
37+
* @return object
3638
*/
3739
public function denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = array());
3840
}

Normalizer/NormalizableInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ interface NormalizableInterface
3333
* based on different output formats.
3434
* @param array $context Options for normalizing this object
3535
*
36-
* @return array|string|bool|int|float|null
36+
* @return array|scalar
3737
*/
3838
public function normalize(NormalizerInterface $normalizer, $format = null, array $context = array());
3939
}

Normalizer/NormalizerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interface NormalizerInterface
2525
* @param string $format format the normalization result will be encoded as
2626
* @param array $context Context options for the normalizer
2727
*
28-
* @return array|string|bool|int|float|null
28+
* @return array|scalar
2929
*/
3030
public function normalize($object, $format = null, array $context = array());
3131

0 commit comments

Comments
 (0)