@@ -140,7 +140,6 @@ |
||
140 | 140 | } |
141 | 141 | |
142 | 142 | /** |
143 | - * @param bool $fuzzy |
|
144 | 143 | * @return $this |
145 | 144 | */ |
146 | 145 | public function fuzzy($level) |
@@ -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)) { |
@@ -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(); |
@@ -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 |