@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | $breweries = $em ->getRepository('MaxpouBeerBundle:Brewery') |
44 | 44 | ->findBy([], ['name' => 'ASC'], $limit, $offset); |
45 | 45 | |
46 | - $context = SerializationContext::create()->setGroups(array('Default','list')); |
|
46 | + $context = SerializationContext::create()->setGroups(array('Default', 'list')); |
|
47 | 47 | $view = $this->view($breweries, 200); |
48 | 48 | $view->setSerializationContext($context); |
49 | 49 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | throw new HttpException(404, 'Unable to find this Brewery entity'); |
74 | 74 | } |
75 | 75 | |
76 | - $context = SerializationContext::create()->setGroups(array('Default','details')); |
|
76 | + $context = SerializationContext::create()->setGroups(array('Default', 'details')); |
|
77 | 77 | $view = $this->view($brewery, 200); |
78 | 78 | $view->setSerializationContext($context); |
79 | 79 | |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | $em->flush(); |
109 | 109 | |
110 | 110 | $view = $this->view($brewery, 201); |
111 | - $context = SerializationContext::create()->setGroups(array('Default','details')); |
|
111 | + $context = SerializationContext::create()->setGroups(array('Default', 'details')); |
|
112 | 112 | $view->setSerializationContext($context); |
113 | 113 | } else { |
114 | 114 | $view = $this->view($form, 400); |