From adf24d75a175e89dc986d3905cb0bbae83def604 Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 14 Apr 2020 16:12:53 +0800 Subject: [PATCH] Fixed linting --- src/Renderer/FileRenderer.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Renderer/FileRenderer.php b/src/Renderer/FileRenderer.php index 983d5c9..a2f3dfd 100755 --- a/src/Renderer/FileRenderer.php +++ b/src/Renderer/FileRenderer.php @@ -38,7 +38,9 @@ protected function renderFragment(AbstractRenderableFileFragment $fragment): str { $contents = file_get_contents($fragment->getAssetsPath()); foreach ($fragment->getConfiguration() as $key => $replacement) { - $value = $fragment->isJsonReplacement() ? json_encode($replacement, $fragment->getJsonEncodeOptions()) : $replacement; + $value = $fragment->isJsonReplacement() ? + json_encode($replacement, $fragment->getJsonEncodeOptions()) : + $replacement; $contents = str_replace($key, $value, $contents); } return $contents;