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

Commit 394c87a

Browse files
committed
Updated RouteResultObserverInterface documentation
1 parent 53d9066 commit 394c87a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/book/router/result-observers.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ you to notify such utilities of the results of matching.
2121
Route result observers must implement the `RouteResultObserverInterface`:
2222

2323
```php
24-
namespace Zend\Expressive\Router;
24+
namespace Zend\Expressive;
25+
26+
use Zend\Expressive\Router\RouteResult;
2527

2628
interface RouteResultObserverInterface
2729
{
@@ -59,7 +61,7 @@ when invoked, generate a URI.
5961
```php
6062
use Zend\Expressive\Router\RouterInterface;
6163
use Zend\Expressive\Router\RouteResult;
62-
use Zend\Expressive\Router\RouteResultObserverInterface;
64+
use Zend\Expressive\RouteResultObserverInterface;
6365

6466
class UriGenerator implements RouteResultObserverInterface
6567
{

0 commit comments

Comments
 (0)