Skip to content

Commit 1884007

Browse files
committed
Fix docs for expected_styles param
1 parent dc609a3 commit 1884007

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/phpunit/tests/template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,7 @@ static function ( $path, $file ) {
19571957
*
19581958
* @dataProvider data_wp_hoist_late_printed_styles
19591959
*
1960-
* @param string[] $expected_styles
1960+
* @phpstan-param array{ HEAD: string[], BODY: string[] } $expected_styles
19611961
*/
19621962
public function test_wp_hoist_late_printed_styles( ?Closure $set_up, string $content, int $inline_size_limit, array $expected_styles, ?Closure $assert = null ): void {
19631963
// `_print_emoji_detection_script()` assumes `wp-includes/js/wp-emoji-loader.js` is present:

0 commit comments

Comments
 (0)