Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Fix wrong namespace in docs for HelperTrait and re-align code example
Browse files Browse the repository at this point in the history
  • Loading branch information
thexpand committed Sep 12, 2018
1 parent 7949014 commit fa2136b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/book/view-helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ for more information.

> ### IDE auto-completion in templates
>
> The `Zend\I18n\View\Helper\HelperTrait` trait can be used to provide
> auto-completion for modern IDEs. It defines the aliases of the view helpers in
> a DocBlock as `@method` tags.
> The `Zend\I18n\View\HelperTrait` trait can be used to provide auto-completion
> for modern IDEs. It defines the aliases of the view helpers in a DocBlock as
> `@method` tags.
>
> #### Usage
>
Expand All @@ -23,8 +23,8 @@ for more information.
> bar) `|`:
> ```php
> /**
> * @var Zend\View\Renderer\PhpRenderer|Zend\I18n\View\Helper\HelperTrait $this
> */
> * @var Zend\View\Renderer\PhpRenderer|Zend\I18n\View\HelperTrait $this
> */
> ```
>
> You may chain as many `HelperTrait` traits as you like, depending on view
Expand Down

0 comments on commit fa2136b

Please sign in to comment.