| @@ -25,7 +25,7 @@ | ||
| 25 | 25 | |
| 26 | 26 | public function makeRequest($request = "", $type = "GET", $data = null, $isCA = false) | 
| 27 | 27 |      { | 
| 28 | - $this->setRequestURL($this->CF->getEndpoint() . $request); | |
| 28 | + $this->setRequestURL($this->CF->getEndpoint().$request); | |
| 29 | 29 | |
| 30 | 30 | //Use in testing to not actualy make the request | 
| 31 | 31 |          if ($this->CF->getMakeRequests() === false) { | 
| @@ -37,7 +37,7 @@ discard block | ||
| 37 | 37 | public function listOriginCerts() | 
| 38 | 38 |      { | 
| 39 | 39 | $id = $this->getZoneId(); | 
| 40 | - $this->makeRequest($this->baseUrl . '?zone_id=' . $id, 'GET', null, true); | |
| 40 | + $this->makeRequest($this->baseUrl.'?zone_id='.$id, 'GET', null, true); | |
| 41 | 41 | |
| 42 | 42 | $response = $this->getResponse(); | 
| 43 | 43 | |
| @@ -50,7 +50,7 @@ discard block | ||
| 50 | 50 | |
| 51 | 51 | public function revokeCert($id) | 
| 52 | 52 |      { | 
| 53 | - $this->makeRequest($this->baseUrl . '/' . $id, 'DELETE', null, true); | |
| 53 | + $this->makeRequest($this->baseUrl.'/'.$id, 'DELETE', null, true); | |
| 54 | 54 | $response = $this->getResponse(); | 
| 55 | 55 | |
| 56 | 56 | return $response->success; | 
| @@ -71,7 +71,7 @@ discard block | ||
| 71 | 71 | $data = [ | 
| 72 | 72 | 'hostnames' => [ | 
| 73 | 73 | $domain, | 
| 74 | - '*.' . $domain | |
| 74 | + '*.'.$domain | |
| 75 | 75 | ], | 
| 76 | 76 | 'requested_validity' => 5475, | 
| 77 | 77 | 'request_type' => 'origin-rsa', | 
| @@ -99,7 +99,7 @@ discard block | ||
| 99 | 99 | $csr = openssl_csr_new(['commonName' => $domain], $privkey, $this->config); | 
| 100 | 100 | openssl_csr_export($csr, $csrString); | 
| 101 | 101 | |
| 102 | - $keys['csr'] = $csrString;; | |
| 102 | + $keys['csr'] = $csrString; ; | |
| 103 | 103 | |
| 104 | 104 | return $keys; | 
| 105 | 105 | } |