Skip to content

Commit

Permalink
Fix layout() return type
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Hatlak <[email protected]>
  • Loading branch information
jhatlak committed Jun 4, 2024
1 parent b3a44ac commit a3393ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Helper/Layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct(?ViewModel $viewModelHelper = null)
* Otherwise, attempts to set the template for that view model.
*
* @param null|string $template
* @return Model|null|self
* @return Model|self
*/
public function __invoke($template = null)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Renderer/PhpRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* mark them as part of the internal implementation, and thus prevent conflict
* with variables injected into the renderer.
*
* Convenience methods for build in helpers (@see __call):
* Convenience methods for built-in helpers (@see __call):
*
* @method string asset($asset)
* @method string|null basePath($file = null)
Expand Down Expand Up @@ -73,7 +73,7 @@
* @method mixed|null identity()
* @method \Laminas\View\Helper\InlineScript inlineScript($mode = \Laminas\View\Helper\HeadScript::FILE, $spec = null, $placement = 'APPEND', array $attrs = array(), $type = 'text/javascript')
* @method string|void json($data, array $jsonOptions = array())
* @method \Laminas\View\Helper\Layout layout($template = null)
* @method Model|\Laminas\View\Helper\Layout layout($template = null)
* @method \Laminas\View\Helper\Navigation navigation($container = null)
* @method string paginationControl(\Laminas\Paginator\Paginator $paginator = null, $scrollingStyle = null, $partial = null, $params = null)
* @method string|\Laminas\View\Helper\Partial partial($name = null, $values = null)
Expand Down

0 comments on commit a3393ec

Please sign in to comment.