Skip to content

Commit

Permalink
Revert mistake made in merge
Browse files Browse the repository at this point in the history
When merging master -> 3.next I made a mistake and chose the wrong side
of the conflict. This restores changes made in #12561, and removes
changes made in #12748
  • Loading branch information
markstory committed Nov 21, 2018
1 parent 6f09849 commit bee87a5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Routing/Middleware/RoutingMiddleware.php
Expand Up @@ -17,7 +17,6 @@
use Cake\Cache\Cache;
use Cake\Core\HttpApplicationInterface;
use Cake\Core\PluginApplicationInterface;
use Cake\Http\BaseApplication;
use Cake\Http\MiddlewareQueue;
use Cake\Http\Runner;
use Cake\Routing\Exception\RedirectException;
Expand All @@ -40,7 +39,7 @@ class RoutingMiddleware
/**
* The application that will have its routing hook invoked.
*
* @var \Cake\Http\BaseApplication|null
* @var \Cake\Core\HttpApplicationInterface|null
*/
protected $app;

Expand All @@ -55,10 +54,10 @@ class RoutingMiddleware
/**
* Constructor
*
* @param \Cake\Http\BaseApplication|null $app The application instance that routes are defined on.
* @param \Cake\Core\HttpApplicationInterface|null $app The application instance that routes are defined on.
* @param string|null $cacheConfig The cache config name to use or null to disable routes cache
*/
public function __construct(BaseApplication $app = null, $cacheConfig = null)
public function __construct(HttpApplicationInterface $app = null, $cacheConfig = null)
{
$this->app = $app;
$this->cacheConfig = $cacheConfig;
Expand Down

0 comments on commit bee87a5

Please sign in to comment.