Update method interface to match newer PSR interface
Some checks failed
Gitea - aviat/banker/pipeline/head There was a failure building this commit
Some checks failed
Gitea - aviat/banker/pipeline/head There was a failure building this commit
This commit is contained in:
parent
526f32b868
commit
9fb427dff6
@ -121,7 +121,7 @@ class Teller implements SimpleCache\CacheInterface, LoggerAwareInterface {
|
|||||||
* MUST be thrown if $keys is neither an array nor a Traversable,
|
* MUST be thrown if $keys is neither an array nor a Traversable,
|
||||||
* or if any of the $keys are not a legal value.
|
* 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
|
// Check type of keys
|
||||||
if ( ! is_iterable($keys))
|
if ( ! is_iterable($keys))
|
||||||
|
Loading…
Reference in New Issue
Block a user