@@ -35,6 +35,7 @@ |
||
| 35 | 35 | * Constructor |
| 36 | 36 | * |
| 37 | 37 | * @param JWKParameter ...$params |
| 38 | + * @param JWKParameter[] $params |
|
| 38 | 39 | * @throws \UnexpectedValueException If missing required parameter |
| 39 | 40 | */ |
| 40 | 41 | public function __construct(JWKParameter ...$params) { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | return $this->_cek; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - protected function _encryptKey($key, Header &$header) { |
|
| 55 | + protected function _encryptKey($key, Header&$header) { |
|
| 56 | 56 | if ($key != $this->_cek) { |
| 57 | 57 | throw new \LogicException("Content encryption key doesn't match."); |
| 58 | 58 | } |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | return $this->_cek; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - protected function _encryptKey($key, Header &$header) { |
|
| 55 | + protected function _encryptKey($key, Header&$header) { |
|
| 56 | 56 | if ($key != $this->_cek) { |
| 57 | 57 | throw new \LogicException("Content encryption key doesn't match."); |
| 58 | 58 | } |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | return $this->_cek; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - protected function _encryptKey($key, Header &$header) { |
|
| 55 | + protected function _encryptKey($key, Header&$header) { |
|
| 56 | 56 | if ($key != $this->_cek) { |
| 57 | 57 | throw new \LogicException("Content encryption key doesn't match."); |
| 58 | 58 | } |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | return $this->_cek; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - protected function _encryptKey($key, Header &$header) { |
|
| 55 | + protected function _encryptKey($key, Header&$header) { |
|
| 56 | 56 | if ($key != $this->_cek) { |
| 57 | 57 | throw new \LogicException("Content encryption key doesn't match."); |
| 58 | 58 | } |