WordPress/wp-includes/rest-api
Sergey Biryukov a5efdd1cc9 Docs: Correct `@return` values for a few REST API class methods.
Includes listing the expected type first, instead of `WP_Error`.

Follow-up to [39031], [39033], [46696], [49927], [49929], [50993], [51286], [51973], [52079], [52286], [53152], [56415].

Props antonvlasenko.
See #61593.
Built from https://develop.svn.wordpress.org/trunk@58704


git-svn-id: http://core.svn.wordpress.org/trunk@58106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-07-10 11:12:16 +00:00
..
endpoints Docs: Correct `@return` values for a few REST API class methods. 2024-07-10 11:12:16 +00:00
fields REST API: Improve error handling in REST meta fields 2024-02-13 09:57:08 +00:00
search REST API: Remove a few unused variables in `foreach` loops. 2024-07-09 13:53:16 +00:00
class-wp-rest-request.php Code Modernization: Remove obsolete comments about older PHP versions. 2024-07-06 14:54:16 +00:00
class-wp-rest-response.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:51:14 +00:00
class-wp-rest-server.php REST API: Correct variable type in `WP_Rest_Server::serve_batch_request_v1()`. 2024-07-08 13:25:18 +00:00