diff --git a/src/Mustache/Engine.php b/src/Mustache/Engine.php index 0bfc9cc..8f9ab00 100644 --- a/src/Mustache/Engine.php +++ b/src/Mustache/Engine.php @@ -79,12 +79,12 @@ class Mustache_Engine * // An array of 'helpers'. Helpers can be global variables or objects, closures (e.g. for higher order * // sections), or any other valid Mustache context value. They will be prepended to the context stack, * // so they will be available in any template loaded by this Mustache instance. - * 'helpers' => array('i18n' => function($text) { + * 'helpers' => array('i18n' => function ($text) { * // do something translatey here... * }), * * // An 'escape' callback, responsible for escaping double-mustache variables. - * 'escape' => function($value) { + * 'escape' => function ($value) { * return htmlspecialchars($buffer, ENT_COMPAT, 'UTF-8'); * }, * diff --git a/src/Mustache/Loader/InlineLoader.php b/src/Mustache/Loader/InlineLoader.php index e08852e..6ebbb6d 100644 --- a/src/Mustache/Loader/InlineLoader.php +++ b/src/Mustache/Loader/InlineLoader.php @@ -35,7 +35,7 @@ * 'mustache.loader' => new Mustache_Loader_InlineLoader(__FILE__, __COMPILER_HALT_OFFSET__) * )); * - * $app->get('/{name}', function($name) use ($app) { + * $app->get('/{name}', function ($name) use ($app) { * return $app['mustache']->render('hello', compact('name')); * }) * ->value('name', 'world');