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

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

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

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

        return $instance;
    }
static function createFromData ( $ data ) { $ instance = new static ( ) ; $ instance -> day = $ data [ 0 ] ; $ instance -> hour = $ data [ 1 ] ; $ instance -> numberCommits = $ data [ 2 ] ; return $ instance ; }
Number of commits
Number of commits