Applied PSR2 formatting to existing files

This commit is contained in:
Anthony Sterling
2017-09-23 18:50:51 +01:00
parent 90196ea836
commit 2faff272df
33 changed files with 144 additions and 103 deletions

View File

@@ -8,7 +8,6 @@
namespace Cloudflare\API\Endpoints;
use Cloudflare\API\Adapter\Adapter;
class IPs implements API
@@ -20,10 +19,11 @@ class IPs implements API
$this->adapter = $adapter;
}
public function listIPs(): \stdClass {
public function listIPs(): \stdClass
{
$ips = $this->adapter->get('ips', [], []);
$body = json_decode($ips->getBody());
return $body->result;
}
}
}