Skip to content

Commit 3a92aac

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: add return types to test fixtures
2 parents 0e1fa7c + 5759be6 commit 3a92aac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Fixtures/DummyString.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DummyString implements DenormalizableInterface
2222
/** @var string $value */
2323
public $value;
2424

25-
public function denormalize(DenormalizerInterface $denormalizer, $data, string $format = null, array $context = [])
25+
public function denormalize(DenormalizerInterface $denormalizer, $data, string $format = null, array $context = []): void
2626
{
2727
$this->value = $data;
2828
}

Tests/Fixtures/NotNormalizableDummy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct()
2424
{
2525
}
2626

27-
public function denormalize(DenormalizerInterface $denormalizer, $data, string $format = null, array $context = [])
27+
public function denormalize(DenormalizerInterface $denormalizer, $data, string $format = null, array $context = []): void
2828
{
2929
throw new NotNormalizableValueException();
3030
}

0 commit comments

Comments
 (0)