Skip to content
Open
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ includes:
- tests/phpstan/baselines/empty.offset.neon
- tests/phpstan/baselines/empty.property.neon
- tests/phpstan/baselines/empty.variable.neon
- tests/phpstan/baselines/encapsedStringPart.nonString.neon
- tests/phpstan/baselines/foreach.nonIterable.neon
- tests/phpstan/baselines/function.alreadyNarrowedType.neon
- tests/phpstan/baselines/function.impossibleType.neon
Expand Down
5 changes: 4 additions & 1 deletion src/wp-admin/includes/media.php
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,10 @@ function image_media_send_to_editor( $html, $attachment_id, $attachment ) {
*
* @param WP_Post $post
* @param array $errors
* @return array<string, array<string, mixed>> The attachment fields.
* @return array<string, string|array<string, mixed>> The attachment fields, keyed by field name. Each value is a field
* definition array, except for underscore-prefixed keys such as
* `_final`, which the `attachment_fields_to_edit` filter may set to
* raw HTML.
*/
function get_attachment_fields_to_edit( $post, $errors = null ) {
if ( is_int( $post ) ) {
Expand Down
25 changes: 0 additions & 25 deletions tests/phpstan/baselines/encapsedStringPart.nonString.neon

This file was deleted.

Loading