Fix node update tests

This commit is contained in:
Dane Everitt
2020-06-24 21:54:56 -07:00
parent a5d9faf6b2
commit 83a59cdf4f
10 changed files with 227 additions and 363 deletions

View File

@@ -34,7 +34,7 @@ class DaemonConfigurationRepository extends DaemonRepository
* @return \Psr\Http\Message\ResponseInterface
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
*/
public function update(?Node $node)
public function update(Node $node)
{
try {
return $this->getHttpClient()->post(