Skip to content

Commit

Permalink
Fixes for PSR-1/2
Browse files Browse the repository at this point in the history
  • Loading branch information
bobthecow committed Jun 13, 2012
1 parent 7750a41 commit 83b6f93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Mustache/Autoloader.php
Expand Up @@ -38,7 +38,7 @@ public function __construct($baseDir = null)
*
* @return Mustache_Autoloader Registered Autoloader instance
*/
static public function register($baseDir = null)
public static function register($baseDir = null)
{
$loader = new self($baseDir);
spl_autoload_register(array($loader, 'autoload'));
Expand Down
1 change: 0 additions & 1 deletion src/Mustache/Compiler.php
Expand Up @@ -102,7 +102,6 @@ private function walk(array $tree, $level = 0)
$code .= $this->variable($node[Mustache_Tokenizer::NAME], true, $level);
break;


case Mustache_Tokenizer::T_TEXT:
$code .= $this->text($node[Mustache_Tokenizer::VALUE], $level);
break;
Expand Down
4 changes: 2 additions & 2 deletions src/Mustache/Template.php
Expand Up @@ -68,8 +68,8 @@ public function render($context = array())
* This is where the magic happens :)
*
* @param Mustache_Context $context
* @param string $indent (default: '')
* @param bool $escape (default: false)
* @param string $indent (default: '')
* @param bool $escape (default: false)
*
* @return string Rendered template
*/
Expand Down

0 comments on commit 83b6f93

Please sign in to comment.