Skip to content

Commit 4013816

Browse files
committed
docs: Add @return never to media_send_to_editor()
The function unconditionally calls exit, so the return type should be documented as never.
1 parent 0a3e8f1 commit 4013816

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/wp-admin/includes/media.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ function _cleanup_image_add_caption( $matches ) {
269269
* @since 2.5.0
270270
*
271271
* @param string $html
272+
* @return never
272273
*/
273274
function media_send_to_editor( $html ) {
274275
?>

0 commit comments

Comments
 (0)