mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Remove debug code
This commit is contained in:
parent
b42ac43beb
commit
69d9b3a613
@ -19,8 +19,6 @@ final class ApiPlatformDescriber extends ExternalDocDescriber
|
|||||||
{
|
{
|
||||||
public function __construct(DocumentationInterface $documentation, NormalizerInterface $normalizer)
|
public function __construct(DocumentationInterface $documentation, NormalizerInterface $normalizer)
|
||||||
{
|
{
|
||||||
// var_dump(get_class($documentation));
|
|
||||||
// die();
|
|
||||||
if (!$normalizer->supportsNormalization($documentation, 'json')) {
|
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)));
|
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)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user