Skip to content

Commit 61f2cb3

Browse files
committed
ISSUE-344: fix warning
1 parent 061342e commit 61f2cb3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Serializer/SubscriberNormalizer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
class SubscriberNormalizer implements NormalizerInterface
1212
{
13+
/**
14+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
15+
*/
1316
public function normalize($object, string $format = null, array $context = []): array
1417
{
1518
if (!$object instanceof Subscriber) {
@@ -38,6 +41,9 @@ public function normalize($object, string $format = null, array $context = []):
3841
];
3942
}
4043

44+
/**
45+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
46+
*/
4147
public function supportsNormalization($data, string $format = null): bool
4248
{
4349
return $data instanceof Subscriber;

0 commit comments

Comments
 (0)