parent
fb2909a1c7
commit
6409fffdad
22 changed files with 143 additions and 166 deletions
|
@ -118,7 +118,7 @@ interface ServerRepositoryInterface extends RepositoryInterface, SearchableInter
|
|||
* Return a server by UUID.
|
||||
*
|
||||
* @param string $uuid
|
||||
* @return \Illuminate\Database\Eloquent\Collection
|
||||
* @return \Pterodactyl\Models\Server
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
|
|
|
@ -13,7 +13,7 @@ interface SubuserRepositoryInterface extends RepositoryInterface
|
|||
* @param bool $refresh
|
||||
* @return \Pterodactyl\Models\Subuser
|
||||
*/
|
||||
public function getWithServer(Subuser $subuser, bool $refresh = false): Subuser;
|
||||
public function loadServerAndUserRelations(Subuser $subuser, bool $refresh = false): Subuser;
|
||||
|
||||
/**
|
||||
* Return a subuser with the associated permissions relationship.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue