Skip to content

Commit

Permalink
Fix doc blocks and class name.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 14, 2015
1 parent efa41b1 commit 7cb92b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/View/ViewBuilder.php
Expand Up @@ -127,7 +127,7 @@ public function templatePath($path = null)
* Get/set path for layout files.
*
* @param string|null $path Path for layout files. If null returns current path.
* @return string|void
* @return string|$this
*/
public function layoutPath($path = null)
{
Expand Down Expand Up @@ -312,7 +312,7 @@ public function build($vars = [], Request $request = null, Response $response =
$className = App::className($this->_className, 'View', 'View');
}
if (!$className) {
throw new Exception\MissingViewException([$this->_className]);
throw new MissingViewException([$this->_className]);
}
$data = [
'name' => $this->_name,
Expand Down

0 comments on commit 7cb92b8

Please sign in to comment.