Skip to content

Commit

Permalink
Fixed UPGRADE-3.0.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lolautruche committed Aug 28, 2017
1 parent 8f172ac commit 498c15a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UPGRADE-3.0.md
Expand Up @@ -12,7 +12,7 @@ They're now available via `ConfigurableView::getContent()` and `ConfigurableView
```php
class MyParamProvider
{
public function getParameters(ConfigurableView $view, array $options = [])
public function getViewParameters(ConfigurableView $view, array $options = [])
{
// Current location and content are available in content/location views
$location = $view->getParameter('content');
Expand All @@ -38,7 +38,7 @@ class MyParamProvider
```php
class MyParamProvider
{
public function getParameters(ConfigurableView $view, array $options = [])
public function getViewParameters(ConfigurableView $view, array $options = [])
{
// Current location and content are available in content/location views
$location = $view->getContent();
Expand Down

0 comments on commit 498c15a

Please sign in to comment.