--- a/wp/wp-includes/class-wp-paused-extensions-storage.php Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/class-wp-paused-extensions-storage.php Tue Sep 27 16:37:53 2022 +0200
@@ -42,11 +42,11 @@
*
* @param string $extension Plugin or theme directory name.
* @param array $error {
- * Error that was triggered.
+ * Error information returned by `error_get_last()`.
*
- * @type string $type The error type.
+ * @type int $type The error type.
* @type string $file The name of the file in which the error occurred.
- * @type string $line The line number in which the error occurred.
+ * @type int $line The line number in which the error occurred.
* @type string $message The error message.
* }
* @return bool True on success, false on failure.
@@ -141,7 +141,11 @@
*
* @since 5.2.0
*
- * @return array Associative array of extension slugs to the error recorded.
+ * @return array {
+ * Associative array of errors keyed by extension slug.
+ *
+ * @type array ...$0 Error information returned by `error_get_last()`.
+ * }
*/
public function get_all() {
if ( ! $this->is_api_loaded() ) {