@@ -50,7 +50,7 @@ |
||
50 | 50 | |
51 | 51 | if ($configuration->isHtmlRequest()) { |
52 | 52 | $view |
53 | - ->setTemplate($configuration->getTemplate(ResourceActions::SHOW . '.html')) |
|
53 | + ->setTemplate($configuration->getTemplate(ResourceActions::SHOW.'.html')) |
|
54 | 54 | ->setTemplateVar($this->metadata->getName()) |
55 | 55 | ->setData([ |
56 | 56 | 'configuration' => $configuration, |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | $singleResourceProvider->get($configuration, $repository)->willReturn($resource); |
118 | 118 | |
119 | 119 | $configuration->isHtmlRequest()->willReturn(true); |
120 | - $configuration->getTemplate(ResourceActions::SHOW . '.html')->willReturn('SyliusShopBundle:Product:show.html.twig'); |
|
120 | + $configuration->getTemplate(ResourceActions::SHOW.'.html')->willReturn('SyliusShopBundle:Product:show.html.twig'); |
|
121 | 121 | |
122 | 122 | $eventDispatcher->dispatch(ResourceActions::SHOW, $configuration, $resource)->shouldBeCalled(); |
123 | 123 | |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | |
174 | 174 | private function getViewComparingCallback(View $expectedView) |
175 | 175 | { |
176 | - return function ($value) use ($expectedView) { |
|
176 | + return function($value) use ($expectedView) { |
|
177 | 177 | if (!$value instanceof View) { |
178 | 178 | return false; |
179 | 179 | } |