Skip to content

Commit ea638e1

Browse files
committed
Fix return annotation.
Signed-off-by: costdev <79332690+costdev@users.noreply.github.com>
1 parent bb032f2 commit ea638e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/updater/namespace.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function get_trusted_keys(): array {
204204
* @param string $remote_source Path of $remote_source.
205205
* @param WP_Upgrader $upgrader An Upgrader object.
206206
* @param array $hook_extra Array of hook data.
207-
* @return string|WP_Error The correct directory path for installation, or WP_Error on failure.
207+
* @return string The correct directory path for installation.
208208
*/
209209
function move_package_during_install( $source, $remote_source, $upgrader, $hook_extra ): string {
210210
global $wp_filesystem;

0 commit comments

Comments
 (0)