Add default getLinkHeader asDate to be false (the previous ID-only way)
This commit is contained in:
@@ -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 '';
|
||||
|
||||
Reference in New Issue
Block a user