Fix namespace collission
This commit is contained in:
parent
c973d8df1a
commit
3287ce12a4
@ -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) . '.');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user