]> git.mxchange.org Git - friendica.git/commitdiff
Add default getLinkHeader asDate to be false (the previous ID-only way)
authorHank Grabowski <hankgrabowski@gmail.com>
Tue, 28 Feb 2023 17:48:25 +0000 (12:48 -0500)
committerHank Grabowski <hankgrabowski@gmail.com>
Tue, 28 Feb 2023 17:48:25 +0000 (12:48 -0500)
src/Module/BaseApi.php

index 3b940e3ae3af14c2df4b92103be3efd7e9ad5fe3..bfcb95eb2ed2dab56cd7e18051c9bca976c22720 100644 (file)
@@ -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 '';