Skip to content

Commit af93156

Browse files
committed
fix: Function signature
1 parent 1b745ee commit af93156

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Utils/oblak-wppu-utils.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
* @package Package Updater
66
*/
77

8-
use Oblak\WP\Updater\Interfaces\Package_Handler_Interface;
9-
108
/**
119
* Register a new package handler
1210
*
13-
* @param string $hostname Hostname for the handler.
14-
* @param Package_Handler_Interface $handler Handler instance.
11+
* @param string $hostname Hostname for the handler.
12+
* @param class-string $handler Handler instance.
1513
*/
16-
function wppu_register_handler( string $hostname, Package_Handler_Interface $handler ): void {
14+
function wppu_register_handler( string $hostname, string $handler ): void {
1715
add_filter(
1816
'wp_package_handlers',
1917
fn( $h ) => array_merge(

0 commit comments

Comments
 (0)