Completed
Push — develop ( 9db627...eb315e )
by Chris
02:25
created
src/ZoneAnalytics.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,14 +29,14 @@
 block discarded – undo
29 29
 
30 30
         $string = "?";
31 31
         foreach ($newOptions as $k => $v) {
32
-            $string .= $k . '=' . $v . '&';
32
+            $string .= $k.'='.$v.'&';
33 33
         }
34 34
 
35 35
         //Remove the last '&'
36 36
         $string = substr($string, 0, -1);
37 37
 
38
-        try{
39
-            $this->makeRequest($this->URL . '/' . $zone . '/analytics/dashboard/' . $string);
38
+        try {
39
+            $this->makeRequest($this->URL.'/'.$zone.'/analytics/dashboard/'.$string);
40 40
         } catch (ClientException $e) {
41 41
             return false;
42 42
         }
Please login to merge, or discard this patch.
src/Cloudflare.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     public function getGuzzle()
44 44
     {
45 45
         //If Guzzle has not been setup yet
46
-        if($this->Guzzle === null) {
46
+        if ($this->Guzzle === null) {
47 47
             var_dump('Guzzle was created');
48 48
             $Guzzle = new Client();
49 49
             $this->setGuzzle($Guzzle);
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
         $configDist = $config.'.dist';
84 84
         $dir = $_SERVER['DOCUMENT_ROOT'];
85 85
 
86
-        if (@file_exists($dir . $config)) {
86
+        if (@file_exists($dir.$config)) {
87 87
             $load = $config;
88
-        } elseif (@file_exists($dir . $configDist)) {
88
+        } elseif (@file_exists($dir.$configDist)) {
89 89
             $load = $configDist;
90 90
         } else {
91 91
             die('Unable to load either "'.$config.'" or "'.$configDist.'"');
Please login to merge, or discard this patch.
src/DNS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $this->makeRequest($this->getURL());
27 27
         $response = $this->getResponse();
28 28
 
29
-        if($response->success != true) {
29
+        if ($response->success != true) {
30 30
             return false;
31 31
         }
32 32
 
Please login to merge, or discard this patch.