From 877d2b68d643ff1af28832eb2bf8ad9faa314278 Mon Sep 17 00:00:00 2001
From: "Frederic G. MARAND" <fgm@osinet.fr>
Date: Mon, 24 Mar 2014 19:15:23 +0100
Subject: [PATCH] Issue #2224933 AliasWhitelist constructo takes a
 PathInterface

---
 core/lib/Drupal/Core/Path/AliasWhitelist.php |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/core/lib/Drupal/Core/Path/AliasWhitelist.php b/core/lib/Drupal/Core/Path/AliasWhitelist.php
index 226c285..a0f3a8d 100644
--- a/core/lib/Drupal/Core/Path/AliasWhitelist.php
+++ b/core/lib/Drupal/Core/Path/AliasWhitelist.php
@@ -9,7 +9,6 @@
 
 use Drupal\Core\Cache\CacheBackendInterface;
 use Drupal\Core\Cache\CacheCollector;
-use Drupal\Core\Database\Connection;
 use Drupal\Core\KeyValueStore\StateInterface;
 use Drupal\Core\Lock\LockBackendInterface;
 
@@ -43,10 +42,10 @@ class AliasWhitelist extends CacheCollector implements AliasWhitelistInterface {
    *   The lock backend.
    * @param \Drupal\Core\KeyValueStore\StateInterface $state
    *   The state keyvalue store.
-   * @param \Drupal\Core\Path\Path $path
+   * @param \Drupal\Core\Path\PathInterface $path
    *   The Path CRUD service.
    */
-  public function __construct($cid, CacheBackendInterface $cache, LockBackendInterface $lock, StateInterface $state, Path $path) {
+  public function __construct($cid, CacheBackendInterface $cache, LockBackendInterface $lock, StateInterface $state, PathInterface $path) {
     parent::__construct($cid, $cache, $lock);
     $this->state = $state;
     $this->path = $path;
-- 
1.7.9.5

