Completed
Pull Request — master (#192)
by
unknown
14s
created
src/Latte/TranslateMacros.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,11 +45,11 @@  discard block
 block discarded – undo
45 45
 				$value = var_export($node->content, TRUE);
46 46
 				$node->content = '';
47 47
 			} else {
48
-				$node->openingCode = '<?php ob_start(function () {}) ?>' . $node->openingCode;
48
+				$node->openingCode = '<?php ob_start(function () {}) ?>'.$node->openingCode;
49 49
 				$value = 'ob_get_clean()';
50 50
 			}
51 51
 
52
-			if (!defined(Engine::class . '::VERSION_ID') || Engine::VERSION_ID < 20804) {
52
+			if (!defined(Engine::class.'::VERSION_ID') || Engine::VERSION_ID < 20804) {
53 53
 				return $writer->write('$_fi = new LR\FilterInfo(%var); echo %modifyContent($this->filters->filterContent("translate", $_fi, %raw))', $node->context[0], $value);
54 54
 			}
55 55
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 				throw new \Latte\CompileException('Expected message prefix, none given');
89 89
 			}
90 90
 
91
-			return $writer->write('$_translator = ' . PrefixedTranslator::class . '::register($this, %node.word);');
91
+			return $writer->write('$_translator = '.PrefixedTranslator::class.'::register($this, %node.word);');
92 92
 		}
93 93
 	}
94 94
 
Please login to merge, or discard this patch.
src/Caching/PhpFileStorage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,12 +55,12 @@
 block discarded – undo
55 55
 	{
56 56
 		$cacheKey = substr_replace(
57 57
 			$key,
58
-			trim(strtr($this->hint, '\\/@', '.._'), '.') . '-',
58
+			trim(strtr($this->hint, '\\/@', '.._'), '.').'-',
59 59
 			strpos($key, self::NS_SEPARATOR) + 1,
60 60
 			0
61 61
 		);
62 62
 
63
-		return parent::getCacheFile($cacheKey) . '.php';
63
+		return parent::getCacheFile($cacheKey).'.php';
64 64
 	}
65 65
 
66 66
 }
Please login to merge, or discard this patch.