Skip to content

Commit

Permalink
Rename and swap service variables
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctl committed Oct 19, 2023
1 parent be3c69b commit 24be83b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Uplink/Register.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ 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.
* @param string $license_class Resource license class.
*
* @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 );
}
}

0 comments on commit 24be83b

Please sign in to comment.