@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | /** |
| 71 | 71 | * Get private key object from given certificate. |
| 72 | 72 | * |
| 73 | - * @param string $key |
|
| 73 | + * @param KeyManagerInterface $key |
|
| 74 | 74 | * @return PrivateKeyInterface |
| 75 | 75 | */ |
| 76 | 76 | public function getPrivateKey(KeyManagerInterface $key) |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * Get public key object from given certificate. |
| 83 | 83 | * |
| 84 | - * @param string $key |
|
| 84 | + * @param KeyManagerInterface $key |
|
| 85 | 85 | * @return PublicKeyInterface |
| 86 | 86 | */ |
| 87 | 87 | public function getPublicKey(KeyManagerInterface $key) |
@@ -82,6 +82,7 @@ |
||
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | 84 | * {@inheritdoc} |
| 85 | + * @param string $expected |
|
| 85 | 86 | */ |
| 86 | 87 | public function verifyToken( |
| 87 | 88 | $expected, |
@@ -10,6 +10,10 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | class ClaimBuilderTest extends TestCase |
| 12 | 12 | { |
| 13 | + /** |
|
| 14 | + * @param string $name |
|
| 15 | + * @param string $value |
|
| 16 | + */ |
|
| 13 | 17 | private function callCollectClaimDirectly($name, $value) |
| 14 | 18 | { |
| 15 | 19 | $refl = new \ReflectionClass(ClaimBuilder::class); |
@@ -10,6 +10,10 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | class JoseBuilderTest extends TestCase |
| 12 | 12 | { |
| 13 | + /** |
|
| 14 | + * @param string $name |
|
| 15 | + * @param string $value |
|
| 16 | + */ |
|
| 13 | 17 | private function callCollectJoseDirectly($name, $value) |
| 14 | 18 | { |
| 15 | 19 | $refl = new \ReflectionClass(JoseBuilder::class); |