@@ -107,7 +107,7 @@ |
||
107 | 107 | */ |
108 | 108 | protected function getSiteRootsByObservedPageIds($table, $uid) |
109 | 109 | { |
110 | - $cacheKey = $table.'-'.$uid; |
|
110 | + $cacheKey = $table . '-' . $uid; |
|
111 | 111 | static $siteRootByObservedPageIds = []; |
112 | 112 | if (count($siteRootByObservedPageIds[$cacheKey]) > 0) { |
113 | 113 | return $siteRootByObservedPageIds[$cacheKey]; |
@@ -347,7 +347,7 @@ |
||
347 | 347 | return $recordPageId; |
348 | 348 | } |
349 | 349 | |
350 | - $alternativeSiteRoots =$this->rootPageResolver->getAlternativeSiteRootPagesIds($recordTable, $recordUid, $recordPageId); |
|
350 | + $alternativeSiteRoots = $this->rootPageResolver->getAlternativeSiteRootPagesIds($recordTable, $recordUid, $recordPageId); |
|
351 | 351 | |
352 | 352 | $lastRootPage = array_pop($alternativeSiteRoots); |
353 | 353 | return empty($lastRootPage) ? 0 : $lastRootPage; |