original_string: public function getClientIp()
      {
          $keys = array('HTTP_X_FORWARDED_FOR', 'CLIENT_IP', 'REMOTE_ADDR');
          foreach ($keys as $key) {
              if ($this->env->has($key) === true) {
                  return $this->env->get($key);
              }
          }
  
          return null;
      }
code: public function getClientIp()
      {
          $keys = array('HTTP_X_FORWARDED_FOR', 'CLIENT_IP', 'REMOTE_ADDR');
          foreach ($keys as $key) {
              if ($this->env->has($key) === true) {
                  return $this->env->get($key);
              }
          }
  
          return null;
      }
code_tokens: public function getClientIp ( ) { $ keys = array ( 'HTTP_X_FORWARDED_FOR' , 'CLIENT_IP' , 'REMOTE_ADDR' ) ; foreach ( $ keys as $ key ) { if ( $ this -> env -> has ( $ key ) === true ) { return $ this -> env -> get ( $ key ) ; } } return null ; }
docstring: Get client IP address
  
  @return string
  @api
docstring_tokens: Get client IP address