The Workplace Relations Commission heard the complaint brought by former garda Trevor Shaw.