Fix returned type docblock on CreateResponse::to() method and fix
phpcs on Application class