Completed
Push — master ( 093e27...6c676c )
by Hilmi Erdem
02:14 queued 13s
created
src/TemporaryAccessService.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      * @param AuthenticatableContract $authenticatable The authenticatable who owns the token.
44 44
      * @param string|TokenInterface   $encryptedText   The token of the authenticatable.
45 45
      *
46
-     * @return null|AccessTokenInterface
46
+     * @return GenericAccessToken|null
47 47
      */
48 48
     public function retrieve(AuthenticatableContract $authenticatable, $encryptedText)
49 49
     {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @param AuthenticatableContract $authenticatable The authenticatable who owns the token.
59 59
      * @param string|TokenInterface   $plainText       The token of the authenticatable.
60 60
      *
61
-     * @return null|AccessTokenInterface
61
+     * @return GenericAccessToken|null
62 62
      */
63 63
     public function retrieveUsingPlainText(AuthenticatableContract $authenticatable, $plainText)
64 64
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * Determine if an access token exists and is valid.
74 74
      *
75 75
      * @param  AuthenticatableContract $authenticatable The authenticatable who owns the token.
76
-     * @param  string|TokenInterface   $encryptedText   The encrypted token of the authenticatable.
76
+     * @param  TokenInterface   $encryptedText   The encrypted token of the authenticatable.
77 77
      *
78 78
      * @return bool
79 79
      */
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      * If no prolong time given, we will reset the original expire time.
103 103
      *
104 104
      * @param  AuthenticatableContract $authenticatable The authenticatable who owns the token.
105
-     * @param  string|TokenInterface   $encryptedText   The token of the authenticatable.
105
+     * @param  TokenInterface   $encryptedText   The token of the authenticatable.
106 106
      * @param  int|null                $prolong         The prolong time in minutes.
107 107
      *
108 108
      * @return bool|AccessTokenInterface
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
      * @param  array $queryParams The key - value pairs to match.
199 199
      * @param  array $attributes  The attributes to be returned from the storage.
200 200
      *
201
-     * @return AccessTokenInterface|null
201
+     * @return null|GenericAccessToken
202 202
      */
203 203
     public function retrieveByAttributes(array $queryParams, array $attributes = ['*'])
204 204
     {
Please login to merge, or discard this patch.