retrieveRevision('revision_id') instead."; throw new Error\InvalidRequest($msg, null); } /** * @param array|string $_id * @param array|string|null $_opts * * @throws \Stripe\Error\InvalidRequest */ public static function all($params = null, $opts = null) { $msg = "Subscription Schedule Revisions cannot be listed without a Subscription Schedule ID. " . "List those using \$schedule->allRevisions('revision_id') instead."; throw new Error\InvalidRequest($msg, null); } }