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