Skip to content

Commit

Permalink
Update PterodactylServerType.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIncognito85 authored May 10, 2023
1 parent 93e491a commit 7bc4a5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pterodactyl/PterodactylServerType.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class PterodactylServerType implements ServerTypeInterface, ServerUpgradeInterfa
/**
* @var \Psr\Container\ContainerInterface
*/
private ContainerInterface $container;
protected ContainerInterface $container;

public function __construct(
LoggerInterface $logger,
Expand Down Expand Up @@ -387,7 +387,7 @@ public function changePackage(Service $service, OrderItem $item): string
return "failed";
}

private function makeAccount(User $user, Server $server, string $password)
protected function makeAccount(User $user, Server $server, string $password)
{
return Http::callApi($server, 'users', [
"username" => Str::slugify($user->getName()) . $user->getId(),
Expand Down

0 comments on commit 7bc4a5e

Please sign in to comment.