Passed
Push — master ( 03dd19...3b2ead )
by Rogier
02:29
created
src/Http/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,6 +69,6 @@
 block discarded – undo
69 69
             return;
70 70
         }
71 71
 
72
-        return (int) $this->headers['http_code'];
72
+        return (int)$this->headers['http_code'];
73 73
     }
74 74
 }
Please login to merge, or discard this patch.
src/Support/OpenSsl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $dn = ['commonName' => $domains[0]];
26 26
 
27
-        $san = implode(',', array_map(function ($dns) {
27
+        $san = implode(',', array_map(function($dns) {
28 28
             return 'DNS:' . $dns;
29 29
         }, $domains));
30 30
 
Please login to merge, or discard this patch.
src/Support/Str.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 {
7 7
     public static function contains($haystack, $needles): bool
8 8
     {
9
-        foreach ((array) $needles as $needle) {
9
+        foreach ((array)$needles as $needle) {
10 10
             if ($needle !== '' && mb_strpos($haystack, $needle) !== false) {
11 11
                 return true;
12 12
             }
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
 
18 18
     public static function endsWith($haystack, $needles)
19 19
     {
20
-        foreach ((array) $needles as $needle) {
21
-            if (substr($haystack, -strlen($needle)) === (string) $needle) {
20
+        foreach ((array)$needles as $needle) {
21
+            if (substr($haystack, -strlen($needle)) === (string)$needle) {
22 22
                 return true;
23 23
             }
24 24
         }
Please login to merge, or discard this patch.