@@ -68,11 +68,11 @@ |
||
68 | 68 | /** @var TemplateReferenceInterface $template */ |
69 | 69 | foreach ($templates as $template) { |
70 | 70 | |
71 | - $templatesLocations[$template->getLogicalName() . "|" . $theme->getSlug()] = $this->resourceLocator->locateResource($template->getPath(), $theme); |
|
71 | + $templatesLocations[$template->getLogicalName()."|".$theme->getSlug()] = $this->resourceLocator->locateResource($template->getPath(), $theme); |
|
72 | 72 | } |
73 | 73 | } |
74 | 74 | |
75 | - $this->writeCacheFile($cacheDir . '/templates_themes.php', sprintf('<?php return %s;', var_export($templatesLocations, true))); |
|
75 | + $this->writeCacheFile($cacheDir.'/templates_themes.php', sprintf('<?php return %s;', var_export($templatesLocations, true))); |
|
76 | 76 | } |
77 | 77 | |
78 | 78 | /** |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | $themeContext->getTheme()->shouldBeCalled()->willReturn(null); |
52 | 52 | $versionStrategy->applyVersion($path)->shouldBeCalled()->willReturn($path); |
53 | 53 | |
54 | - $this->getUrl($path)->shouldReturn('/' . $path); |
|
54 | + $this->getUrl($path)->shouldReturn('/'.$path); |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | function it_returns_modified_url_if_there_is_active_theme( |
@@ -68,6 +68,6 @@ discard block |
||
68 | 68 | $pathResolver->resolve($path, $theme)->shouldBeCalled()->willReturn($themeAssetPath); |
69 | 69 | $versionStrategy->applyVersion($themeAssetPath)->shouldBeCalled()->willReturn($themeAssetPath); |
70 | 70 | |
71 | - $this->getUrl($path)->shouldReturn('/' . $themeAssetPath); |
|
71 | + $this->getUrl($path)->shouldReturn('/'.$themeAssetPath); |
|
72 | 72 | } |
73 | 73 | } |