From afb31253c847cf602146c40fed7a390e33691154 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 5 Feb 2020 15:48:33 +0100 Subject: [PATCH] Update RedisCache.php --- DataStorage/Cache/Connection/RedisCache.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/DataStorage/Cache/Connection/RedisCache.php b/DataStorage/Cache/Connection/RedisCache.php index f5eca8d6f..346c439b3 100644 --- a/DataStorage/Cache/Connection/RedisCache.php +++ b/DataStorage/Cache/Connection/RedisCache.php @@ -45,7 +45,7 @@ final class RedisCache extends ConnectionAbstract /** * Constructor * - * @param array $data Cache data + * @param array{db:int, host:string, port:int} $data Cache data * * @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 {