Skip to content

Commit

Permalink
Fix doc block.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Sep 24, 2018
1 parent 6407b26 commit 7114153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/View/ViewBuilder.php
Expand Up @@ -212,11 +212,11 @@ public function enableAutoLayout($enable = true)
* Returns if CakePHP's conventional mode of applying layout files is enabled.
* Disabled means that layouts will not be automatically applied to rendered views.
*
* @return bool
* @return bool|null
*/
public function isAutoLayoutEnabled()
{
return $this->_autoLayout !== null ? $this->_autoLayout : true;
return $this->_autoLayout;
}

/**
Expand Down

0 comments on commit 7114153

Please sign in to comment.