Skip to content

Commit

Permalink
Add missing return type for Misc resource networksStats endpoint (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
rapkis authored Sep 19, 2023
1 parent b635f1b commit a3fb5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/Misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit a3fb5ec

Please sign in to comment.