Code formatting for ViewHelper & tests

This commit is contained in:
Anton Terekhov
2012-11-21 15:43:20 +04:00
parent 0d58a907e5
commit 07a244ca35
11 changed files with 87 additions and 79 deletions

View File

@ -11,7 +11,7 @@
class HeadViewHelper extends ViewHelper
{
public function head($string = false)
{
if ($string) {
@ -21,7 +21,7 @@ class HeadViewHelper extends ViewHelper
}
return $this;
}
public function __toString()
{
return implode("\n ", Registry::get(__CLASS__, array())) . "\n";