protected $password;
/** @var bool Whether connections persist */
protected $persistent;
- /** @var integer Serializer to use (Redis::SERIALIZER_*) */
+ /** @var int Serializer to use (Redis::SERIALIZER_*) */
protected $serializer;
/** @} */
* @param string $server
* @param RedisConnRef $cref
* @param RedisException $e
- * @deprecated 1.23
+ * @deprecated since 1.23
*/
public function handleException( $server, RedisConnRef $cref, RedisException $e ) {
return $this->handleError( $cref, $e );
/**
* @param string $script
* @param array $params
- * @param integer $numKeys
+ * @param int $numKeys
* @return mixed
* @throws RedisException
*/
$conn->clearLastError();
$res = $conn->evalSha( $sha1, $params, $numKeys );
// If we got a permission error reply that means that (a) we are not in
- // multi()/pipeline() and (b) some connection problem likely occured. If
+ // multi()/pipeline() and (b) some connection problem likely occurred. If
// the password the client gave was just wrong, an exception should have
// been thrown back in getConnection() previously.
if ( preg_match( '/^ERR operation not permitted\b/', $conn->getLastError() ) ) {