Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / serializer / Mapping / Factory / ClassMetadataFactory.php
index 6604430d190b88852ad0f0f39e28370ed732c55e..294dfd9e367591f80541f420acf0a53f48d51ced 100644 (file)
@@ -25,32 +25,17 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface
 {
     use ClassResolverTrait;
 
-    /**
-     * @var LoaderInterface
-     */
     private $loader;
-
-    /**
-     * @var Cache
-     */
     private $cache;
-
-    /**
-     * @var array
-     */
     private $loadedClasses;
 
-    /**
-     * @param LoaderInterface $loader
-     * @param Cache|null      $cache
-     */
     public function __construct(LoaderInterface $loader, Cache $cache = null)
     {
         $this->loader = $loader;
         $this->cache = $cache;
 
         if (null !== $cache) {
-            @trigger_error(sprintf('Passing a Doctrine Cache instance as 2nd parameter of the "%s" constructor is deprecated since version 3.1. This parameter will be removed in Symfony 4.0. Use the "%s" class instead.', __CLASS__, CacheClassMetadataFactory::class), E_USER_DEPRECATED);
+            @trigger_error(sprintf('Passing a Doctrine Cache instance as 2nd parameter of the "%s" constructor is deprecated since Symfony 3.1. This parameter will be removed in Symfony 4.0. Use the "%s" class instead.', __CLASS__, CacheClassMetadataFactory::class), E_USER_DEPRECATED);
         }
     }