refactor: code sniffing expected 1 space after closure's function keyword