Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
if ( validate_path( $asset_file_path ) ) {
$asset_map = include $asset_file_path; // phpcs:ignore WordPressVIPMinimum.Files.IncludingFile.IncludingFile, WordPressVIPMinimum.Files.IncludingFile.UsingVariable

return is_array( $asset_map ) ? $asset_map : []; // @phpstan-ignore-line returns array
return is_array( $asset_map ) ? $asset_map : [];

Check failure on line 60 in src/assets.php

View workflow job for this annotation

GitHub Actions / PR Tests PHP 8.3 WordPress latest

Function Alley\WP\Create_WordPress_Plugin\get_entry_asset_map() should return array{dependencies?: array<string>, version?: string} but returns array<mixed>.

Check failure on line 60 in src/assets.php

View workflow job for this annotation

GitHub Actions / PR Tests PHP 8.4 WordPress latest

Function Alley\WP\Create_WordPress_Plugin\get_entry_asset_map() should return array{dependencies?: array<string>, version?: string} but returns array<mixed>.
}
}

Expand Down
Loading