Skip to content

Commit ebb2277

Browse files
westonruterb1ink0
andauthored
Use string literals for status in return phpdoc
Co-authored-by: Aditya Dhade <[email protected]>
1 parent 9c84eb7 commit ebb2277

File tree

1 file changed

+1
-1
lines changed
  • plugins/performance-lab/includes/site-health/audit-enqueued-assets

1 file changed

+1
-1
lines changed

plugins/performance-lab/includes/site-health/audit-enqueued-assets/helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ static function ( $carry, $asset ): int {
313313
* } $blocking_assets
314314
*
315315
* @param array<string, mixed> $blocking_assets Array of blocking assets.
316-
* @return array{status: string, description: string} Result.
316+
* @return array{status: 'good'|'recommended', description: string} Result.
317317
*/
318318
function perflab_aea_enqueued_blocking_styles( array $blocking_assets ): array {
319319
$enqueued_styles = count( $blocking_assets['styles'] );

0 commit comments

Comments
 (0)