<commit_before><?php
namespace SitecRESA\Datatype;
/**
 * Facture obtenue à partir du Panier
 *
 * @author <NAME> <<EMAIL>>
 */
class Facture extends \SitecRESA\Datatype\SavableDatatypeAbstract{
    protected $_id;
    protected $_numeroFacture;
    /**
     *
     * @param \SitecRESA\WS\Client $apiClient
     * @param type $id
     */
    public static function fetch(\SitecRESA\WS\Client $apiClient, $id) {
        return $apiClient->facture("get",array("idRessource" => $id));
    }
   
    public function toArray() {
        return array(
            "idRessource"       => $this->_id,
            "numeroFacture"     => $this->numeroFacture
        );
    }
}<commit_msg>add idReservation<commit_after><?php
namespace SitecRESA\Datatype;
/**
 * Facture obtenue à partir du Panier
 *
 * @author <NAME> <<EMAIL>>
 */
class Facture extends \SitecRESA\Datatype\SavableDatatypeAbstract{
    protected $_id;
    protected $_idReservation;
    protected $_numeroFacture;
    /**
     *
     * @param \SitecRESA\WS\Client $apiClient
     * @param type $id
     */
    public static function fetch(\SitecRESA\WS\Client $apiClient, $id) {
        return $apiClient->facture("get",array("idRessource" => $id));
    }
   
    public function toArray() {
        return array(
            "idRessource"       => $this->_id,
            "idReservation"       => $this->_idReservation,
            "numeroFacture"     => $this->numeroFacture
        );
    }
}
{'fraction_non_alphanumeric': 0.13626978664831382, 'fraction_numerical': 0.0, 'mean_word_length': 2.4951923076923075, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 23, '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': '3077572', 'n_tokens_mistral': 474, 'n_tokens_neox': 468, 'n_words': 93}