Update method interface to match newer PSR interface
Some checks failed
Gitea - aviat/banker/pipeline/head There was a failure building this commit

This commit is contained in:
Timothy Warren 2021-11-30 11:55:25 -05:00
parent 526f32b868
commit 9fb427dff6

View File

@ -121,7 +121,7 @@ class Teller implements SimpleCache\CacheInterface, LoggerAwareInterface {
* MUST be thrown if $keys is neither an array nor a Traversable,
* or if any of the $keys are not a legal value.
*/
public function getMultiple($keys, $default = null)
public function getMultiple(iterable $keys, mixed $default = null): iterable
{
// Check type of keys
if ( ! is_iterable($keys))