@@ -22,11 +22,11 @@ |
||
22 | 22 | return (new static())->getClient()->{$name}(...$arguments)->json(); |
23 | 23 | } |
24 | 24 | |
25 | - private function getClient(){ |
|
25 | + private function getClient() { |
|
26 | 26 | return (static::$client) ? static::$client : static::setClient(); |
27 | 27 | } |
28 | 28 | |
29 | - private function setClient(){ |
|
29 | + private function setClient() { |
|
30 | 30 | $client = (new PendingZttpRequest())->withHeaders([ |
31 | 31 | 'Authorization' => 'Bearer '.static::$authenticationToken |
32 | 32 | ]); |
@@ -36,6 +36,6 @@ |
||
36 | 36 | |
37 | 37 | public static function delete($identifier): ?bool |
38 | 38 | { |
39 | - return ! isset(HetznerCloud::delete(static::$uri.'/'.$identifier)['error']); |
|
39 | + return !isset(HetznerCloud::delete(static::$uri.'/'.$identifier)['error']); |
|
40 | 40 | } |
41 | 41 | } |
42 | 42 | \ No newline at end of file |