wp/wp-admin/includes/translation-install.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
--- a/wp/wp-admin/includes/translation-install.php	Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-admin/includes/translation-install.php	Wed Sep 21 18:19:35 2022 +0200
@@ -29,9 +29,9 @@
 	 *
 	 * @since 4.0.0
 	 *
-	 * @param bool|array  $result The result object. Default false.
-	 * @param string      $type   The type of translations being requested.
-	 * @param object      $args   Translation API arguments.
+	 * @param false|object $result The result object. Default false.
+	 * @param string       $type   The type of translations being requested.
+	 * @param object       $args   Translation API arguments.
 	 */
 	$res = apply_filters( 'translations_api', false, $type, $args );
 
@@ -206,8 +206,8 @@
  * @see wp_get_available_translations()
  *
  * @param string $download Language code to download.
- * @return string|bool Returns the language code if successfully downloaded
- *                     (or already installed), or false on failure.
+ * @return string|false Returns the language code if successfully downloaded
+ *                      (or already installed), or false on failure.
  */
 function wp_download_language_pack( $download ) {
 	// Check if the translation is already installed.