Completed
Pull Request — master (#97)
by Filip
12:53 queued 09:18
created
src/Kdyby/Translation/DI/TranslationExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
 
259 259
 		$this->beforeCompileLogging($config);
260 260
 
261
-		$registerToLatte = function (Nette\DI\ServiceDefinition $def) {
261
+		$registerToLatte = function(Nette\DI\ServiceDefinition $def) {
262 262
 			$def
263 263
 				->addSetup('?->onCompile[] = function($engine) { Kdyby\Translation\Latte\TranslateMacros::install($engine->getCompiler()); }', array('@self'))
264 264
 				->addSetup('addFilter', array('translate', array($this->prefix('@helpers'), 'translate')))
@@ -472,7 +472,7 @@  discard block
 block discarded – undo
472 472
 	 */
473 473
 	public static function register(Nette\Configurator $configurator)
474 474
 	{
475
-		$configurator->onCompile[] = function ($config, Nette\DI\Compiler $compiler) {
475
+		$configurator->onCompile[] = function($config, Nette\DI\Compiler $compiler) {
476 476
 			$compiler->addExtension('translation', new TranslationExtension());
477 477
 		};
478 478
 	}
Please login to merge, or discard this patch.