Cleanup and reformat code

This commit is contained in:
Ivan Shalganov
2014-04-17 23:27:59 +04:00
parent 0e8880faf9
commit 2b1a8652e2
6 changed files with 61 additions and 184 deletions

View File

@@ -202,7 +202,7 @@ class Render extends \ArrayObject
public function getMacro($name)
{
if (empty($this->_macros[$name])) {
throw new \RuntimeException('macro '.$name.' not found');
throw new \RuntimeException('macro ' . $name . ' not found');
}
return $this->_macros[$name];
}