Skip to content

Commit

Permalink
bug fix migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Jan 19, 2017
1 parent f199547 commit 50de1b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/upgrading/upgrading-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ After:

use League\Uri\Modifiers\Pipeline;

$pipeline = Pipeline::createFromCallables([function ($uri) {
$pipeline = new Pipeline([new CallableAdapter(function ($uri) {
return $uri->withHost('thephpleague.com');
})];
}))];
...
~~~

Expand Down

0 comments on commit 50de1b8

Please sign in to comment.