`race()` currently accepts an empty array, which seems to be a bug. https://github.com/reactphp/promise/commit/e8c20be73335581a1069cdfb6113a946bb15a250#commitcomment-17349444