Test Failed
Push — master ( 860ff0...214a6e )
by Ridvan Lakas ng Bayan
03:41
created
src/Ridvanbaluyos/Pwned/Pwned.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
             $jsonResponse = $this->getJsonResponse($result);
57 57
 
58 58
             return $jsonResponse;
59
-        } catch(\GuzzleHttp\Exception\ClientException $e) {
59
+        } catch (\GuzzleHttp\Exception\ClientException $e) {
60 60
             return [
61 61
                 'code' => $e->getCode(),
62 62
                 'message' => $e->getMessage()
Please login to merge, or discard this patch.
src/Ridvanbaluyos/Pwned/PasteAccount.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,9 @@
 block discarded – undo
32 32
     public function get(): array
33 33
     {
34 34
         // No account has been set, return empty array.
35
-        if (!isset($this->account)) return [];
35
+        if (!isset($this->account)) {
36
+            return [];
37
+        }
36 38
 
37 39
         $url = $this->endpoint . 'pasteaccount/' . $this->account;
38 40
         $pasteAccounts = $this->requestGet($url);
Please login to merge, or discard this patch.
src/Ridvanbaluyos/Pwned/BreachedAccount.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,9 @@
 block discarded – undo
36 36
     public function get(): array
37 37
     {
38 38
         // No account has been set, return empty array.
39
-        if (!isset($this->account)) return [];
39
+        if (!isset($this->account)) {
40
+            return [];
41
+        }
40 42
 
41 43
         $filters = [];
42 44
         $url = $this->endpoint . 'breachedaccount/' . $this->account;
Please login to merge, or discard this patch.
src/Ridvanbaluyos/Pwned/Breach.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,9 @@
 block discarded – undo
30 30
     public function get(): array
31 31
     {
32 32
         // No domain has been set, return empty array.
33
-        if (!isset($this->domain)) return [];
33
+        if (!isset($this->domain)) {
34
+            return [];
35
+        }
34 36
 
35 37
         $url = $this->endpoint . 'breach/' . $this->domain;
36 38
         $breaches = $this->requestGet($url);
Please login to merge, or discard this patch.
src/Ridvanbaluyos/Pwned/PwnedPasswords.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,9 @@
 block discarded – undo
32 32
     public function get(): array
33 33
     {
34 34
         // No password has been set, return empty array.
35
-        if (!isset($this->password)) return [];
35
+        if (!isset($this->password)) {
36
+            return [];
37
+        }
36 38
 
37 39
         $url = $this->endpoint . 'pwnedpassword/' . $this->password;
38 40
         $pwnedPasswords = $this->requestGet($url);
Please login to merge, or discard this patch.