X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FHttp.php;h=71c58521f805613d8f5ea91fe70c63a7ea800711;hb=baff51f9d2525bba35f889183127225e7ac60cc0;hp=ee077792fc87c2a61168d877e9c1ccba164ee77b;hpb=d9e8af2b9acdd8b6b72290a137bd95a8d3b06e73;p=civicrm-core.git diff --git a/CRM/Utils/Http.php b/CRM/Utils/Http.php index ee077792fc..71c58521f8 100644 --- a/CRM/Utils/Http.php +++ b/CRM/Utils/Http.php @@ -36,7 +36,7 @@ class CRM_Utils_Http { * Parse the expiration time from a series of HTTP headers. * * @param array $headers - * @return int|NULL + * @return int|null * Expiration tme as seconds since epoch, or NULL if not cacheable. */ public static function parseExpiration($headers) { @@ -61,7 +61,7 @@ class CRM_Utils_Http { * Ex: Array("max-age"=>86400, "public"=>1). */ public static function parseCacheControl($value) { - $result = array(); + $result = []; $parts = preg_split('/, */', $value); foreach ($parts as $part) {