We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b745ee commit af93156Copy full SHA for af93156
src/Utils/oblak-wppu-utils.php
@@ -5,15 +5,13 @@
5
* @package Package Updater
6
*/
7
8
-use Oblak\WP\Updater\Interfaces\Package_Handler_Interface;
9
-
10
/**
11
* Register a new package handler
12
*
13
- * @param string $hostname Hostname for the handler.
14
- * @param Package_Handler_Interface $handler Handler instance.
+ * @param string $hostname Hostname for the handler.
+ * @param class-string $handler Handler instance.
15
16
-function wppu_register_handler( string $hostname, Package_Handler_Interface $handler ): void {
+function wppu_register_handler( string $hostname, string $handler ): void {
17
add_filter(
18
'wp_package_handlers',
19
fn( $h ) => array_merge(
0 commit comments