diff --git a/src/Uplink/Register.php b/src/Uplink/Register.php index 24301e13..0a800fb7 100644 --- a/src/Uplink/Register.php +++ b/src/Uplink/Register.php @@ -29,8 +29,8 @@ public static function plugin( $slug, $name, $version, $path, $class, $license_c * * @since 1.0.0 * - * @param string $name Resource name. * @param string $slug Resource slug. + * @param string $name Resource name. * @param string $version Resource version. * @param string $path Resource path to bootstrap file. * @param string $class Resource class. @@ -38,7 +38,7 @@ public static function plugin( $slug, $name, $version, $path, $class, $license_c * * @return Resources\Resource */ - public static function service( $name, $slug, $version, $path, $class, $license_class = null ) { - return Resources\Service::register( $name, $slug, $version, $path, $class, $license_class ); + public static function service( $slug, $name, $version, $path, $class, $license_class = null ) { + return Resources\Service::register( $slug, $name, $version, $path, $class, $license_class ); } }