@@ -51,7 +51,7 @@ |
||
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 | /** |
@@ -50,7 +50,7 @@ |
||
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 | /** |