Changeset 63381
- Timestamp:
- 08/28/2026 12:45:55 AM (7 weeks ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 2 edited
-
phpstan.neon.dist (modified) (1 diff)
-
src/wp-admin/includes/media.php (modified) (1 diff)
-
tests/phpstan/baselines/encapsedStringPart.nonString.neon (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpstan.neon.dist
r63379 r63381 43 43 - tests/phpstan/baselines/empty.property.neon 44 44 - tests/phpstan/baselines/empty.variable.neon 45 - tests/phpstan/baselines/encapsedStringPart.nonString.neon46 45 - tests/phpstan/baselines/foreach.nonIterable.neon 47 46 - tests/phpstan/baselines/function.alreadyNarrowedType.neon -
trunk/src/wp-admin/includes/media.php
r63351 r63381 1399 1399 * @param WP_Post $post 1400 1400 * @param array $errors 1401 * @return array<string, array<string, mixed>> The attachment fields. 1401 * @return array<string, array<string, mixed>|string> The attachment fields, keyed by field name. Each value is a 1402 * field definition array, except for the `_final` key, which the 1403 * `attachment_fields_to_edit` filter may set to raw HTML that is 1404 * rendered after all other fields. 1405 * 1406 * @phpstan-return array{ 1407 * _final?: string, 1408 * menu_order?: array<string, mixed>, // Listed explicitly so that unsetting it in get_media_item() does not collapse this shape. 1409 * ...<string, array<string, mixed>> 1410 * } 1402 1411 */ 1403 1412 function get_attachment_fields_to_edit( $post, $errors = null ) {
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)