Php Convert Null To Empty Array Typescript Documentation