Completed
Push — develop ( c97899...e1148a )
by Chris
05:11
created
src/Traits/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/SSL.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.