Implemented getChoices and getValues from Doctrine ENUM on the right way

This commit is contained in:
Kevin Frantz committed 2019-02-25 13:32:37 +01:00
1 parent 0bf7554afb
commit 90df65828c
21 files changed
+29 -29

No files matched your search

@@ -34,8 +34,8 @@ class RestRoutesReachableIntegrationTest extends KernelTestCase
'12314123',
'testslug',
] as $uri) {
foreach (RESTResponseType::getChoices() as $format) {
foreach (LayerType::getChoices() as $layer) {
foreach (RESTResponseType::getValues() as $format) {
foreach (LayerType::getValues() as $layer) {
$actions = LayerActionMap::getActions($layer);
foreach ($actions as $action) {
foreach (ActionHttpMethodMap::getHttpMethods($action) as $method) {