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
6d995a6e03
commit
0a3785fd26
@ -111,7 +111,7 @@ final class FilteredRouteCollectionBuilder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0 === count($this->options['name_patterns']);
|
return 0 === count($this->options['name_patterns']);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function matchAnnotation(Route $route): bool
|
private function matchAnnotation(Route $route): bool
|
||||||
|
@ -18,5 +18,7 @@ class Bar
|
|||||||
{
|
{
|
||||||
public $things;
|
public $things;
|
||||||
|
|
||||||
public function addThing(array $thing) { }
|
public function addThing(array $thing)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -254,6 +254,6 @@ class FilteredRouteCollectionBuilderTest extends TestCase
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new ControllerReflector(new Container());
|
return new ControllerReflector(new Container());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ use Nelmio\ApiDocBundle\Model\ModelRegistry;
|
|||||||
use Nelmio\ApiDocBundle\ModelDescriber\ModelDescriberInterface;
|
use Nelmio\ApiDocBundle\ModelDescriber\ModelDescriberInterface;
|
||||||
use Nelmio\ApiDocBundle\SwaggerPhp\ModelRegister;
|
use Nelmio\ApiDocBundle\SwaggerPhp\ModelRegister;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
use Swagger\Analysis;
|
use Swagger\Analysis;
|
||||||
use Swagger\Annotations as SWG;
|
use Swagger\Annotations as SWG;
|
||||||
|
|
||||||
class ModelRegisterTest extends TestCase
|
class ModelRegisterTest extends TestCase
|
||||||
|
Loading…
x
Reference in New Issue
Block a user