static function createFromData($data) {
        $instance = new static();

        $instance->day = $data[0];
        $instance->hour = $data[1];
        $instance->numberCommits = $data[2];

        return $instance;
    }