Remove debug code

This commit is contained in:
Guilhem Niot 2022-09-30 19:11:54 +02:00 committed by GitHub
parent b42ac43beb
commit 69d9b3a613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,8 +19,6 @@ final class ApiPlatformDescriber extends ExternalDocDescriber
{
public function __construct(DocumentationInterface $documentation, NormalizerInterface $normalizer)
{
// var_dump(get_class($documentation));
// die();
if (!$normalizer->supportsNormalization($documentation, 'json')) {
throw new \InvalidArgumentException(sprintf('Argument 2 passed to %s() must implement %s and support normalization of %s. The normalizer provided is an instance of %s.', __METHOD__, NormalizerInterface::class, Documentation::class, get_class($normalizer)));
}