Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / devel / webprofiler / src / Cache / CacheBackendWrapper.php
index 725e4cf5906388bf6a3caa52f296bb5ef9955345..4050b41036338463090edb2ae5e9b6546b2882c6 100644 (file)
@@ -56,7 +56,7 @@ class CacheBackendWrapper implements CacheBackendInterface, CacheTagsInvalidator
     $cache = $this->cacheBackend->get($cid, $allow_invalid);
 
     if ($cache) {
-      $cacheCopy = new \StdClass();
+      $cacheCopy = new \stdClass();
       $cacheCopy->cid = $cache->cid;
       $cacheCopy->expire = $cache->expire;
       $cacheCopy->tags = $cache->tags;
@@ -82,7 +82,7 @@ class CacheBackendWrapper implements CacheBackendInterface, CacheTagsInvalidator
         $this->cacheDataCollector->registerCacheMiss($this->bin, $cid);
       }
       else {
-        $cacheCopy = new \StdClass();
+        $cacheCopy = new \stdClass();
         $cacheCopy->cid = $cache[$cid]->cid;
         $cacheCopy->expire = $cache[$cid]->expire;
         $cacheCopy->tags = $cache[$cid]->tags;