/**
  * CLIENT KILL [ip:port] [ID client-id] [TYPE normal|slave|pubsub] [ADDR ip:port] [SKIPME yes/no]
  * Available since 2.4.0.
  * Time complexity: O(N) where N is the number of client connections
  * @link http://redis.io/commands/client-kill
  *
  * @param string|array|null $addr
  * @param int|null $clientId
  * @param string|null $type normal|slave|pubsub
  * @param string|array|null $addr2
  * @param bool|null $skipme
  * @return bool|int
  * When called with the three arguments format:
  * Simple string reply: True if the connection exists and has been closed
  * When called with the filter / value format:
  * Integer reply: the number of clients killed.
  */
 public function clientKill($addr = null, $clientId = null, $type = null, $addr2 = null, $skipme = null)
 {
     $params = [];
     if ($addr) {
         $params[] = Parameter::address($addr);
     }
     if ($clientId) {
         $params[] = 'ID';
         $params[] = $clientId;
     }
     if ($type) {
         $params[] = 'TYPE';
         $params[] = $type;
     }
     if ($addr2) {
         $params[] = 'ADDR';
         $params[] = Parameter::address($addr2);
     }
     if (isset($skipme)) {
         $params[] = 'SKIPME';
         $params[] = $skipme ? 'yes' : 'no';
     }
     return $this->returnCommand(['CLIENT', 'KILL'], $params);
 }