Update RedisCache.php

This commit is contained in:
Dennis Eichhorn 2020-02-05 15:48:33 +01:00 committed by GitHub
parent dc346a5654
commit afb31253c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ final class RedisCache extends ConnectionAbstract
/** /**
* Constructor * Constructor
* *
* @param array $data Cache data * @param array{db:int, host:string, port:int} $data Cache data
* *
* @since 1.0.0 * @since 1.0.0
*/ */
@ -56,7 +56,13 @@ final class RedisCache extends ConnectionAbstract
} }
/** /**
* {@inheritdoc} * Connect to cache
*
* @param array{db:int, host:string, port:int} $data Cache data
*
* @return void
*
* @since 1.0.0
*/ */
public function connect(array $data) : void public function connect(array $data) : void
{ {