@@ -48,8 +48,8 @@ discard block  | 
                                                    ||
| 48 | 48 | /**  | 
                                                        
| 49 | 49 | * Obtains multiple cache items by their unique keys.  | 
                                                        
| 50 | 50 | *  | 
                                                        
| 51 | - * @param iterable $keys A list of keys that can obtained in a single operation.  | 
                                                        |
| 52 | - * @param mixed $default Default value to return for keys that do not exist.  | 
                                                        |
| 51 | + * @param string[] $keys A list of keys that can obtained in a single operation.  | 
                                                        |
| 52 | + * @param \stdClass $default Default value to return for keys that do not exist.  | 
                                                        |
| 53 | 53 | *  | 
                                                        
| 54 | 54 | * @return array List of key => value pairs. Cache keys that do not exist or are stale will have $default as value.  | 
                                                        
| 55 | 55 | *  | 
                                                        
@@ -131,7 +131,7 @@ discard block  | 
                                                    ||
| 131 | 131 | /**  | 
                                                        
| 132 | 132 | * Deletes multiple cache items in a single operation.  | 
                                                        
| 133 | 133 | *  | 
                                                        
| 134 | - * @param iterable $keys A list of string-based keys to be deleted.  | 
                                                        |
| 134 | + * @param string[] $keys A list of string-based keys to be deleted.  | 
                                                        |
| 135 | 135 | *  | 
                                                        
| 136 | 136 | * @return boolean True if the items were successfully removed. False if there was an error.  | 
                                                        
| 137 | 137 | *  | 
                                                        
@@ -13,7 +13,7 @@ discard block  | 
                                                    ||
| 13 | 13 | * Fetches a value from the cache.  | 
                                                        
| 14 | 14 | *  | 
                                                        
| 15 | 15 | * @param string $key The unique key of this item in the cache.  | 
                                                        
| 16 | - * @param mixed $default Default value to return if the key does not exist.  | 
                                                        |
| 16 | + * @param \stdClass $default Default value to return if the key does not exist.  | 
                                                        |
| 17 | 17 | *  | 
                                                        
| 18 | 18 | * @return mixed The value of the item from the cache, or $default in case of cache miss.  | 
                                                        
| 19 | 19 | */  | 
                                                        
@@ -26,7 +26,7 @@ discard block  | 
                                                    ||
| 26 | 26 | * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time.  | 
                                                        
| 27 | 27 | *  | 
                                                        
| 28 | 28 | * @param string $key The key of the item to store.  | 
                                                        
| 29 | - * @param mixed $value The value of the item to store, must be serializable.  | 
                                                        |
| 29 | + * @param string $value The value of the item to store, must be serializable.  | 
                                                        |
| 30 | 30 | * @param null|integer|DateInterval $ttl Optional. The TTL value of this item. If no value is sent and  | 
                                                        
| 31 | 31 | * the driver supports TTL then the library may set a default value  | 
                                                        
| 32 | 32 | * for it or let the driver take care of that.  | 
                                                        
@@ -63,8 +63,8 @@ discard block  | 
                                                    ||
| 63 | 63 | /**  | 
                                                        
| 64 | 64 | * Obtains multiple cache items by their unique keys.  | 
                                                        
| 65 | 65 | *  | 
                                                        
| 66 | - * @param iterable $keys A list of keys that can obtained in a single operation.  | 
                                                        |
| 67 | - * @param mixed $default Default value to return for keys that do not exist.  | 
                                                        |
| 66 | + * @param string[] $keys A list of keys that can obtained in a single operation.  | 
                                                        |
| 67 | + * @param \stdClass $default Default value to return for keys that do not exist.  | 
                                                        |
| 68 | 68 | *  | 
                                                        
| 69 | 69 | * @return array A list of key => value pairs. Keys that do not exist or are stale will have $default as value.  | 
                                                        
| 70 | 70 | */  | 
                                                        
@@ -96,7 +96,7 @@ discard block  | 
                                                    ||
| 96 | 96 | /**  | 
                                                        
| 97 | 97 | * Deletes multiple cache items in a single operation.  | 
                                                        
| 98 | 98 | *  | 
                                                        
| 99 | - * @param iterable $keys A list of string-based keys to be deleted.  | 
                                                        |
| 99 | + * @param string[] $keys A list of string-based keys to be deleted.  | 
                                                        |
| 100 | 100 | *  | 
                                                        
| 101 | 101 | * @return boolean True if the items were successfully removed. False if there was an error.  | 
                                                        
| 102 | 102 | */  | 
                                                        
@@ -12,7 +12,7 @@ discard block  | 
                                                    ||
| 12 | 12 | /**  | 
                                                        
| 13 | 13 | * Unserializes cached data into the original state.  | 
                                                        
| 14 | 14 | *  | 
                                                        
| 15 | - * @param mixed $data The data to unserialize.  | 
                                                        |
| 15 | + * @param string|boolean $data The data to unserialize.  | 
                                                        |
| 16 | 16 | *  | 
                                                        
| 17 | 17 | * @return mixed  | 
                                                        
| 18 | 18 | *  | 
                                                        
@@ -37,7 +37,7 @@ discard block  | 
                                                    ||
| 37 | 37 | *  | 
                                                        
| 38 | 38 | * @param mixed $value The data to serialize for caching.  | 
                                                        
| 39 | 39 | *  | 
                                                        
| 40 | - * @return mixed The result of serializing the given $data.  | 
                                                        |
| 40 | + * @return string The result of serializing the given $data.  | 
                                                        |
| 41 | 41 | *  | 
                                                        
| 42 | 42 | * @throws InvalidArgumentException Thrown if the given value cannot be serialized for caching.  | 
                                                        
| 43 | 43 | */  |