api ->listHooks($repo->full_name) ->then(new HooksCallback($this->api, $repo)); } return Promise\all($promises); } }