Completed
Push — develop ( c52f3e...04abb3 )
by Chris
03:06
created
src/ComodoDecodeCSR.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     public function checkInstalled()
55 55
     {
56 56
         $domain = $this->getCN();
57
-        $URL = 'http://' . $domain . "/" . $this->getmd5() . '.txt';
57
+        $URL = 'http://'.$domain."/".$this->getmd5().'.txt';
58 58
 
59 59
         $client = new Client();
60 60
 
@@ -64,13 +64,13 @@  discard block
 block discarded – undo
64 64
             return false;
65 65
         }
66 66
 
67
-        $response = "" . $request->getBody();
67
+        $response = "".$request->getBody();
68 68
         return $this->checkDVC($response);
69 69
     }
70 70
 
71 71
     public function generateDVC()
72 72
     {
73
-        $DVC = $this->getSHA1() . "\n";
73
+        $DVC = $this->getSHA1()."\n";
74 74
         $DVC .= "comodoca.com\n";
75 75
 
76 76
         return $DVC;
@@ -87,13 +87,13 @@  discard block
 block discarded – undo
87 87
 
88 88
         //Check if last 2 characters are new lines
89 89
         if (substr($response, -2) === "\n\n") {
90
-            $response = substr($response, 0, -2) . "\n";
90
+            $response = substr($response, 0, -2)."\n";
91 91
         }
92 92
 
93 93
         //Check if last character is not a new line
94 94
         if (substr($response, -1) !== "\n") {
95 95
             //Add said new line
96
-            $response = $response . "\n";
96
+            $response = $response."\n";
97 97
         }
98 98
 
99 99
         //Check it again
Please login to merge, or discard this patch.