Skip to content

Commit 0b71431

Browse files
committed
fix: correct docblock formatting in BlockCacheCollector and Builder
1 parent 37b847d commit 0b71431

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

src/Service/Inspector/Cache/BlockCacheCollector.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ private function resolveCacheTags(BlockInterface $block): array
196196
/**
197197
* Check if current page is cacheable
198198
*
199-
* Checks layout configuration to determine if page has cacheable="false" attribute.
200-
* If any block on the page is marked as non-cacheable in layout XML, the page is non-cacheable.
199+
* Checks layout configuration to determine if page has cacheable="false" attribute.
200+
* If any block on the page is marked as non-cacheable in layout XML, the page is non-cacheable.
201201
*
202202
* @return bool True if page is cacheable, false otherwise
203203
*/
@@ -236,12 +236,12 @@ private function isPageCacheable(): bool
236236
/**
237237
* Format metrics for JSON export to frontend
238238
*
239-
* @param array<string, mixed> $renderMetrics
240-
* @param array<string, mixed> $cacheMetrics
241-
* @return array<string, mixed>
242-
* @phpstan-param RenderMetrics $renderMetrics
243-
* @phpstan-param CacheInfo $cacheMetrics
244-
* @phpstan-return FormattedMetrics
239+
* @param array<string, mixed> $renderMetrics
240+
* @param array<string, mixed> $cacheMetrics
241+
* @return array<string, mixed>
242+
* @phpstan-param RenderMetrics $renderMetrics
243+
* @phpstan-param CacheInfo $cacheMetrics
244+
* @phpstan-return FormattedMetrics
245245
*/
246246
public function formatMetricsForJson(array $renderMetrics, array $cacheMetrics): array
247247
{

src/Service/ThemeBuilder/MagentoStandard/Builder.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,12 @@ private function installGruntIfMissing(SymfonyStyle $io, bool $isVerbose): bool
214214
}
215215
}
216216

217-
/**
218-
* Check for outdated packages and report them
219-
*
220-
* @param SymfonyStyle $io
221-
* @return void
222-
*/
217+
/**
218+
* Check for outdated packages and report them
219+
*
220+
* @param SymfonyStyle $io
221+
* @return void
222+
*/
223223
private function checkOutdatedPackages(SymfonyStyle $io): void
224224
{
225225
try {

0 commit comments

Comments
 (0)