Completed
Pull Request — master (#5)
by Erik
05:22
created
src/Roave/NonceUtility/Factory/Service/NonceServiceFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Roave/NonceUtility/Repository/NonceRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -88,6 +88,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Roave/NonceUtility/Service/NonceService.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.