Skip to content

Commit

Permalink
Fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
partydragen committed Jul 2, 2022
1 parent 45fe41a commit 7fe5282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/classes/Minecraft/ProfileUtils.php
Expand Up @@ -85,10 +85,10 @@ public static function getOfflineModeUuid(string $username): array {
/**
* Add dashes to UUID
*
* @param $uuid string UUID to format
* @param string $uuid string UUID to format
* @return string Properly formatted UUID (According to UUID v4 Standards xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx WHERE y = 8,9,A,or B and x = random digits.)
*/
public static function formatUUID($uuid): string {
public static function formatUUID(string $uuid): string {
$uid = "";
$uid .= substr($uuid, 0, 8)."-";
$uid .= substr($uuid, 8, 4)."-";
Expand Down

0 comments on commit 7fe5282

Please sign in to comment.