@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | |
79 | 79 | /** |
80 | 80 | * @internal will become protected in version 2.0 |
81 | - * @return CacheAdapterInterface|CacheItemPoolInterface |
|
81 | + * @return CacheItemPoolInterface |
|
82 | 82 | */ |
83 | 83 | public function getCacheAdapter() |
84 | 84 | { |
@@ -143,6 +143,9 @@ discard block |
||
143 | 143 | return $token; |
144 | 144 | } |
145 | 145 | |
146 | + /** |
|
147 | + * @param string $cacheKey |
|
148 | + */ |
|
146 | 149 | protected function cache(Token $token, $ttl, $cacheKey = null) |
147 | 150 | { |
148 | 151 | if (is_null($cacheKey)) { |
@@ -29,7 +29,6 @@ |
||
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
32 | - * @param string $id |
|
33 | 32 | * @param int $version |
34 | 33 | * @param Context $context |
35 | 34 | * @return static |
@@ -43,7 +43,6 @@ |
||
43 | 43 | protected $newPassword; |
44 | 44 | |
45 | 45 | /** |
46 | - * @param string $id |
|
47 | 46 | * @param int $version |
48 | 47 | * @param string $currentPassword |
49 | 48 | * @param string $newPassword |
@@ -104,6 +104,9 @@ |
||
104 | 104 | return (!in_array($statusCode, [200, 201])); |
105 | 105 | } |
106 | 106 | |
107 | + /** |
|
108 | + * @param string $fieldName |
|
109 | + */ |
|
107 | 110 | protected function getResponseField($fieldName, $default = '') |
108 | 111 | { |
109 | 112 | $result = $this->toArray(); |