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 537029b commit d209ef6
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 @@ -10,9 +10,9 @@ See the section on \[view helpers\](zend.view.helpers) for more information.

> ### IDE auto-completion in templates
>
> The `Zend\Form\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\Form\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 @@ -24,8 +24,8 @@ See the section on \[view helpers\](zend.view.helpers) for more information.
> bar) `|`:
> ```php
> /**
> * @var Zend\View\Renderer\PhpRenderer|Zend\Form\View\Helper\HelperTrait $this
> */
> * @var Zend\View\Renderer\PhpRenderer|Zend\Form\View\HelperTrait $this
> */
> ```
>
> You may chain as many `HelperTrait` traits as you like, depending on view
Expand Down

0 comments on commit d209ef6

Please sign in to comment.