@@ -52,7 +52,7 @@ |
||
52 | 52 | * |
53 | 53 | * @param ServiceLocatorInterface $serviceLocator |
54 | 54 | * |
55 | - * @return mixed |
|
55 | + * @return NonceService |
|
56 | 56 | */ |
57 | 57 | public function createService(ServiceLocatorInterface $serviceLocator) |
58 | 58 | { |
@@ -88,6 +88,9 @@ |
||
88 | 88 | return $this->get($owner, $nonce, $namespace) !== null; |
89 | 89 | } |
90 | 90 | |
91 | + /** |
|
92 | + * @param string $nonce |
|
93 | + */ |
|
91 | 94 | public function hasUnassociated($nonce, $namespace = 'default') |
92 | 95 | { |
93 | 96 | return $this->getUnassociated($nonce, $namespace) !== null; |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * Creates and persists a nonce entity |
80 | 80 | * |
81 | - * @param $nonce |
|
81 | + * @param string $nonce |
|
82 | 82 | * @param NonceOwnerInterface|null $owner |
83 | 83 | * @param DateInterval|null $expiresIn |
84 | 84 | * @param string $namespace |
@@ -200,6 +200,7 @@ discard block |
||
200 | 200 | |
201 | 201 | /** |
202 | 202 | * {@inheritdoc} |
203 | + * @param string $nonce |
|
203 | 204 | */ |
204 | 205 | public function consumeUnassociated($nonce, $namespace = 'default', RequestInterface $request = null) |
205 | 206 | { |