Explorar o código

Fix doc comment on inline loader.

Justin Hileman %!s(int64=12) %!d(string=hai) anos
pai
achega
4112bcc3f7
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/Mustache/Loader/InlineLoader.php

+ 3 - 1
src/Mustache/Loader/InlineLoader.php

@@ -35,11 +35,13 @@
  *         'mustache.loader' => new Mustache_Loader_InlineLoader(__FILE__, __COMPILER_HALT_OFFSET__)
  *     ));
  *
- *     $app->get('/{name}', function() use ($app) {
+ *     $app->get('/{name}', function($name) use ($app) {
  *         return $app['mustache']->render('hello', compact('name'));
  *     })
  *     ->value('name', 'world');
  *
+ *     // ...
+ *
  *     __halt_compiler();
  *
  *     @@ hello