Completed
Branch master (e214c2)
by Kevin
03:05
created
Category
src/Namshi/JOSE/Signer/OpenSSL/PublicKey.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         if (is_resource($key)) {
52 52
             return $key;
53 53
         }
54
-        return openssl_pkey_get_public($key) ? : openssl_pkey_get_private($key, $password);
54
+        return openssl_pkey_get_public($key) ?: openssl_pkey_get_private($key, $password);
55 55
     }
56 56
 
57 57
     /**
Please login to merge, or discard this patch.
src/Namshi/JOSE/SimpleJWS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     public function isValid($key, $algo = null)
52 52
     {
53
-        return $this->verify($key, $algo) && ! $this->isExpired();
53
+        return $this->verify($key, $algo) && !$this->isExpired();
54 54
     }
55 55
 
56 56
     /**
Please login to merge, or discard this patch.