A cordon was put in place outside the flats while emergency services dealt with the incident