@@ -62,13 +62,13 @@ |
||
| 62 | 62 | trigger_error('need openssl support sha256', E_USER_ERROR); |
| 63 | 63 | } |
| 64 | 64 | if (empty ($this->appId)) { |
| 65 | - throw new InvalidConfigException ('The "appId" property must be set.'); |
|
| 65 | + throw new InvalidConfigException('The "appId" property must be set.'); |
|
| 66 | 66 | } |
| 67 | 67 | if (empty ($this->privateKey)) { |
| 68 | - throw new InvalidConfigException ('The "privateKey" property must be set.'); |
|
| 68 | + throw new InvalidConfigException('The "privateKey" property must be set.'); |
|
| 69 | 69 | } |
| 70 | 70 | if (empty ($this->publicKey)) { |
| 71 | - throw new InvalidConfigException ('The "publicKey" property must be set.'); |
|
| 71 | + throw new InvalidConfigException('The "publicKey" property must be set.'); |
|
| 72 | 72 | } |
| 73 | 73 | $privateKey = "file://" . Yii::getAlias($this->privateKey); |
| 74 | 74 | $this->privateKey = openssl_pkey_get_private($privateKey); |