Changeset 65182
- Timestamp:
- 11/01/2026 07:19:44 PM (4 hours ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
src/wp-includes/l10n/class-wp-translation-file.php (modified) (1 diff)
-
tests/phpstan/baselines/assign.propertyType.neon (modified) (1 diff)
-
tests/phpstan/baselines/return.type.neon (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n/class-wp-translation-file.php
r58009 r65182 159 159 * @since 6.5.0 160 160 * 161 * @return array<string, string []> Entries.161 * @return array<string, string> Entries. 162 162 */ 163 163 public function entries(): array { -
trunk/tests/phpstan/baselines/assign.propertyType.neon
r64868 r65182 105 105 path: ../../../src/wp-includes/customize/class-wp-customize-header-image-control.php 106 106 - 107 message: '#^Property WP_Translation_File\:\:\$entries \(array\<string, string\>\) does not accept array\<string, array\<string\>\>\.$#'108 identifier: assign.propertyType109 count: 1110 path: ../../../src/wp-includes/l10n/class-wp-translation-file.php111 -112 107 message: '#^Property WP_REST_Autosaves_Controller\:\:\$revisions_controller \(WP_REST_Revisions_Controller\) does not accept WP_REST_Controller\.$#' 113 108 identifier: assign.propertyType -
trunk/tests/phpstan/baselines/return.type.neon
r64994 r65182 70 70 path: ../../../src/wp-includes/fonts.php 71 71 - 72 message: '#^Method WP_Translation_Controller\:\:get_entries\(\) should return array\<string, string\> but returns array\<string, array\<string\>\>\.$#'73 identifier: return.type74 count: 175 path: ../../../src/wp-includes/l10n/class-wp-translation-controller.php76 -77 message: '#^Method WP_Translation_File\:\:entries\(\) should return array\<string, array\<string\>\> but returns array\<string, string\>\.$#'78 identifier: return.type79 count: 180 path: ../../../src/wp-includes/l10n/class-wp-translation-file.php81 -82 72 message: '#^Function update_meta_cache\(\) should return array\|false but returns bool\.$#' 83 73 identifier: return.type
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)