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

This commit is contained in:
Timothy Warren 2021-11-30 11:55:25 -05:00
parent 526f32b868
commit 9fb427dff6
1 changed files with 1 additions and 1 deletions

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))