1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-27 20:32:28 +01:00

Fix node return being too strict

This commit is contained in:
Dane Everitt 2018-01-05 18:44:20 -06:00
parent d2afc29a80
commit 21a78f465b
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
2 changed files with 5 additions and 5 deletions

View File

@ -19,9 +19,9 @@ interface BaseRepositoryInterface
/** /**
* Return the node model being used. * 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. * Set the Server model to use when requesting information from the Daemon.

View File

@ -28,7 +28,7 @@ abstract class BaseRepository implements BaseRepositoryInterface
private $token; private $token;
/** /**
* @var \Pterodactyl\Models\Node * @var \Pterodactyl\Models\Node|null
*/ */
private $node; private $node;
@ -65,9 +65,9 @@ abstract class BaseRepository implements BaseRepositoryInterface
/** /**
* Return the node model being used. * 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; return $this->node;
} }