From f0b3864c7a0a245a65b78afb6c3a38613d1f88aa Mon Sep 17 00:00:00 2001 From: Hank Grabowski Date: Tue, 28 Feb 2023 12:48:25 -0500 Subject: [PATCH] Add default getLinkHeader asDate to be false (the previous ID-only way) --- src/Module/BaseApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/BaseApi.php b/src/Module/BaseApi.php index 3b940e3ae3..bfcb95eb2e 100644 --- a/src/Module/BaseApi.php +++ b/src/Module/BaseApi.php @@ -278,7 +278,7 @@ class BaseApi extends BaseModule * Get the "link" header with "next" and "prev" links * @return string */ - protected static function getLinkHeader(bool $asDate): string + protected static function getLinkHeader(bool $asDate = false): string { if (empty(self::$boundaries)) { return '';