mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Fix CS
This commit is contained in:
parent
3490b01d1d
commit
6770e9e809
@ -43,7 +43,7 @@ class EXSystApiDocExtension extends Extension
|
||||
$container->removeDefinition('exsyst_api_doc.routing_extractors.nelmio_annotation');
|
||||
}
|
||||
if (!class_exists(DocBlockFactory::class)) {
|
||||
$container->removeDefinition('exsyst_api_doc.routing_extractors.php_doc');
|
||||
$container->removeDefinition('exsyst_api_doc.routing_extractors.php_doc');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,10 +13,7 @@ namespace EXSyst\Bundle\ApiDocBundle\Extractor\Routing;
|
||||
|
||||
use phpDocumentor\Reflection\DocBlockFactory;
|
||||
use phpDocumentor\Reflection\DocBlockFactoryInterface;
|
||||
use Doctrine\Common\Annotations\Reader;
|
||||
use gossi\swagger\Parameter;
|
||||
use gossi\swagger\Swagger;
|
||||
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
|
||||
use Symfony\Component\Routing\Route;
|
||||
|
||||
class PhpDocExtractor implements RouteExtractorInterface
|
||||
|
@ -34,9 +34,6 @@ class RoutingExtractor implements ExtractorInterface
|
||||
$this->routeExtractors = $routeExtractors;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Swagger
|
||||
*/
|
||||
public function extractIn(Swagger $swagger)
|
||||
{
|
||||
if (0 === count($this->routeExtractors)) {
|
||||
|
@ -39,6 +39,7 @@ class ApiController
|
||||
* Please do not use this action.
|
||||
*
|
||||
* @Route("/deprecated", methods={"GET"})
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
public function deprecatedAction()
|
||||
|
Loading…
x
Reference in New Issue
Block a user