<commit_before><?php

class ShippingEasy_Order extends ShippingEasy_Object
{
  public function __construct($store_api_key=null, $values=null) {
    $this->store_api_key = $store_api_key;
    $this->values = $values;
  }

  public function create()
  {
    return $this->request("post", "/api/stores/$this->store_api_key/orders", null, array("order" => $this->values));
  }

  public function find($id)
  {
    return $this->request("get", "/api/orders/$id");
  }

  public function findByStore($id)
    {
      return $this->request("get", "/api/stores/$this->store_api_key/orders/$id");
    }

  public function findAllByStore($params=array())
  {
    return $this->request("get", "/api/stores/$this->store_api_key/orders", $params);
  }

  public function findAll($params=array())
  {
    print_r($params);
    return $this->request("get", "/api/orders", $params);
  }
}
<commit_msg>Use more clear name.<commit_after><?php

class ShippingEasy_Order extends ShippingEasy_Object
{
  public function __construct($store_api_key=null, $values=null) {
    $this->store_api_key = $store_api_key;
    $this->values = $values;
  }

  public function create()
  {
    return $this->request("post", "/api/stores/$this->store_api_key/orders", null, array("order" => $this->values));
  }

  public function find($id)
  {
    return $this->request("get", "/api/orders/$id");
  }

  public function findByStore($external_order_id)
    {
      return $this->request("get", "/api/stores/$this->store_api_key/orders/$external_order_id");
    }

  public function findAllByStore($params=array())
  {
    return $this->request("get", "/api/stores/$this->store_api_key/orders", $params);
  }

  public function findAll($params=array())
  {
    print_r($params);
    return $this->request("get", "/api/orders", $params);
  }
}

{'fraction_non_alphanumeric': 0.1787493082457111, 'fraction_numerical': 0.0, 'mean_word_length': 4.150997150997151, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '486612', 'n_tokens_mistral': 618, 'n_tokens_neox': 601, 'n_words': 101}