diff --git a/app/Contracts/Repository/Daemon/BaseRepositoryInterface.php b/app/Contracts/Repository/Daemon/BaseRepositoryInterface.php index 398469265..b34c7420e 100644 --- a/app/Contracts/Repository/Daemon/BaseRepositoryInterface.php +++ b/app/Contracts/Repository/Daemon/BaseRepositoryInterface.php @@ -19,9 +19,9 @@ interface BaseRepositoryInterface /** * Return the node model being used. * - * @return \Pterodactyl\Models\Node + * @return \Pterodactyl\Models\Node|null */ - public function getNode(): Node; + public function getNode(); /** * Set the Server model to use when requesting information from the Daemon. diff --git a/app/Repositories/Daemon/BaseRepository.php b/app/Repositories/Daemon/BaseRepository.php index 8b401526a..e15b17ce1 100644 --- a/app/Repositories/Daemon/BaseRepository.php +++ b/app/Repositories/Daemon/BaseRepository.php @@ -28,7 +28,7 @@ abstract class BaseRepository implements BaseRepositoryInterface private $token; /** - * @var \Pterodactyl\Models\Node + * @var \Pterodactyl\Models\Node|null */ private $node; @@ -65,9 +65,9 @@ abstract class BaseRepository implements BaseRepositoryInterface /** * Return the node model being used. * - * @return \Pterodactyl\Models\Node + * @return \Pterodactyl\Models\Node|null */ - public function getNode(): Node + public function getNode() { return $this->node; }