Completed
Push — improve_cached_identifiers ( 709b59 )
by Kévin
03:46
created
src/Api/CachedIdentifiersExtractor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Api;
15 15
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
             $relatedResourceClass = $this->getObjectClass($identifiers[$propertyName]);
67 67
             if (!$relatedIdentifiers = $this->memoryCache[$relatedResourceClass] ?? false) {
68
-                $relatedCacheKey = self::CACHE_KEY_PREFIX . md5($relatedResourceClass);
68
+                $relatedCacheKey = self::CACHE_KEY_PREFIX.md5($relatedResourceClass);
69 69
                 try {
70 70
                     $relatedCacheItem = $this->cacheItemPool->getItem($relatedCacheKey);
71 71
                     if (!$relatedCacheItem->isHit()) {
Please login to merge, or discard this patch.