From a3fb5ec261f29b9141b7f57c5ed4a51bbd6f6caf Mon Sep 17 00:00:00 2001 From: Rapolas Gruzdys Date: Tue, 19 Sep 2023 18:18:57 +0300 Subject: [PATCH] Add missing return type for Misc resource networksStats endpoint (#30) --- src/Resources/Misc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/Misc.php b/src/Resources/Misc.php index ec4c85c..7499679 100644 --- a/src/Resources/Misc.php +++ b/src/Resources/Misc.php @@ -24,7 +24,7 @@ public function ip(): DatacenterIp return $this->ip->make($this->client->get('ip')->json('body')); } - public function networkStats() + public function networkStats(): Networks { $response = $this->client->get('network')->json('body');