1
0
mirror of synced 2025-02-20 22:23:14 +03:00

Fix namespace collission

This commit is contained in:
Christian Schmidt 2014-11-11 08:31:36 +01:00
parent c973d8df1a
commit 3287ce12a4

View File

@ -19,7 +19,7 @@
namespace Doctrine\ORM;
use Doctrine\Common\Cache\Cache;
use Doctrine\Common\Cache\Cache as CacheDriver;
use Exception;
/**
@ -234,11 +234,11 @@ class ORMException extends Exception
}
/**
* @param Cache $cache
* @param \Doctrine\Common\Cache\Cache $cache
*
* @return ORMException
*/
public static function metadataCacheUsesNonPersistentCache(Cache $cache)
public static function metadataCacheUsesNonPersistentCache(CacheDriver $cache)
{
return new self('Metadata Cache uses a non-persistent cache driver, ' . get_class($cache) . '.');
}