We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 810a774 commit 1990971Copy full SHA for 1990971
1 file changed
src/Service/Inspector/Cache/BlockCacheCollector.php
@@ -148,7 +148,7 @@ private function isBlockScopePrivate(BlockInterface $block): bool
148
return true;
149
}
150
} catch (\ReflectionException $e) {
151
- // If reflection fails, assume not private
+ return false;
152
153
154
@@ -236,8 +236,8 @@ private function isPageCacheable(): bool
236
/**
237
* Format metrics for JSON export to frontend
238
*
239
- * @param array<string, mixed> $renderMetrics
240
- * @param array<string, mixed> $cacheMetrics
+ * @param array $renderMetrics
+ * @param array $cacheMetrics
241
* @return array<string, mixed>
242
* @phpstan-param RenderMetrics $renderMetrics
243
* @phpstan-param CacheInfo $cacheMetrics
0 commit comments