Add getSupportedTypes and update method signatures in test normalizers

This commit is contained in:
2026-01-02 15:10:48 +01:00
parent bbbf9aa3ee
commit b0cb08a07d
3 changed files with 18 additions and 3 deletions

View File

@@ -145,10 +145,15 @@ final class MotiveNormalizerTest extends TestCase
return ['normalized'];
}
public function supportsNormalization($data, ?string $format = null): bool
public function supportsNormalization($data, ?string $format = null, array $context = []): bool
{
return true;
}
public function getSupportedTypes(?string $format): array
{
return [];
}
};
}
}