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

Commit e391ce7

Browse files
committed
Update to use RouteResultObserverInterface from zend-expressive
Following on zendframework/zend-expressive#206, this patch updates the `UrlHelper` to implement `Zend\Expressive\RouteResultObserverInterface` instead of `Zend\Expressive\Router\RouteResultObserverInterface`, which is now deprecated.
1 parent 6bf85fb commit e391ce7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/UrlHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Zend\Expressive\Router\Exception\RuntimeException;
1111
use Zend\Expressive\Router\RouterInterface;
1212
use Zend\Expressive\Router\RouteResult;
13-
use Zend\Expressive\Router\RouteResultObserverInterface;
13+
use Zend\Expressive\RouteResultObserverInterface;
1414
use Zend\Expressive\Template\Exception\RenderingException;
1515
use Zend\View\Helper\AbstractHelper;
1616

test/UrlHelperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Zend\Expressive\Router\Exception\RuntimeException;
1515
use Zend\Expressive\Router\RouterInterface;
1616
use Zend\Expressive\Router\RouteResult;
17-
use Zend\Expressive\Router\RouteResultObserverInterface;
17+
use Zend\Expressive\RouteResultObserverInterface;
1818
use Zend\Expressive\Template\Exception;
1919
use Zend\Expressive\ZendView\UrlHelper;
2020

0 commit comments

Comments
 (0)