original_string: public function getLimit($user_id)
      {
          if (empty($user_id) || !is_numeric($user_id)) {
              return (int) $this->config->get('user_address_limit_anonymous', 1);
          }
  
          return (int) $this->config->get('user_address_limit', 4);
      }
code: public function getLimit($user_id)
      {
          if (empty($user_id) || !is_numeric($user_id)) {
              return (int) $this->config->get('user_address_limit_anonymous', 1);
          }
  
          return (int) $this->config->get('user_address_limit', 4);
      }
code_tokens: public function getLimit ( $ user_id ) { if ( empty ( $ user_id ) || ! is_numeric ( $ user_id ) ) { return ( int ) $ this -> config -> get ( 'user_address_limit_anonymous' , 1 ) ; } return ( int ) $ this -> config -> get ( 'user_address_limit' , 4 ) ; }
docstring: Returns a number of addresses the user can have
  @param string|integer
  @return integer
docstring_tokens: Returns a number of addresses the user can have