@@ -179,9 +179,8 @@ |
||
179 | 179 | /** |
180 | 180 | * Converts the given time to live value to a epoch timestamp. |
181 | 181 | * |
182 | - * @param mixed $key The cache key to validate. |
|
183 | 182 | * |
184 | - * @return void |
|
183 | + * @return integer |
|
185 | 184 | * |
186 | 185 | * @throws InvalidArgumentException Thrown if the $ttl is not null, an integer or \DateInterval. |
187 | 186 | */ |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * @param string $resource The API resource to search for. |
84 | 84 | * @param array $filters Array of search criteria to use in request. |
85 | 85 | * |
86 | - * @return DataWrapperInterface|null |
|
86 | + * @return null|DataWrapper |
|
87 | 87 | * |
88 | 88 | * @throws \InvalidArgumentException Thrown if $resource is empty or not a string. |
89 | 89 | */ |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * @param string $resource The API resource to search for. |
110 | 110 | * @param integer $id The id of the API resource. |
111 | 111 | * |
112 | - * @return DataWrapperInterface|null |
|
112 | + * @return null|DataWrapper |
|
113 | 113 | */ |
114 | 114 | final public function get(string $resource, int $id) |
115 | 115 | { |