mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-03-12 10:36:09 +03:00
Fix CS
This commit is contained in:
parent
ab3dec1125
commit
e221047351
@ -27,14 +27,13 @@ final class Configuration implements ConfigurationInterface
|
||||
->addDefaultsIfNotSet()
|
||||
->children()
|
||||
->arrayNode('path_patterns')
|
||||
->example(array('^/api', '^/api(?!/admin)'))
|
||||
->example(['^/api', '^/api(?!/admin)'])
|
||||
->prototype('scalar')->end()
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
->end();
|
||||
|
||||
|
||||
return $treeBuilder;
|
||||
}
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ class RouteDescriberTest extends AbstractDescriberTest
|
||||
new Container(),
|
||||
$this->routes,
|
||||
$this->createMock(ControllerNameParser::class),
|
||||
[ $this->routeDescriber ]
|
||||
[$this->routeDescriber]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
namespace EXSyst\Bundle\ApiDocBundle\Tests\Functional\Controller;
|
||||
|
||||
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
|
||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
||||
|
||||
class UndocumentedController
|
||||
|
Loading…
x
Reference in New Issue
Block a user