redis: Fix incomplete @var documentation in RedisConnRef
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Wed, 27 Feb 2019 15:33:55 +0000 (16:33 +0100)
committerThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Wed, 27 Feb 2019 15:33:55 +0000 (16:33 +0100)
Change-Id: Id6cf3731986a004ffa80611fcf02c43fd6609ff1

includes/libs/redis/RedisConnRef.php

index d09620b..db29760 100644 (file)
@@ -33,9 +33,10 @@ class RedisConnRef implements LoggerAwareInterface {
        protected $pool;
        /** @var Redis */
        protected $conn;
-
-       protected $server; // string
-       protected $lastError; // string
+       /** @var string */
+       protected $server;
+       /** @var string|null */
+       protected $lastError;
 
        /**
         * @var LoggerInterface