Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex committed Sep 15, 2024
1 parent 5793627 commit f8e3f92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/HTTP/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ final class Utils
* - `Expires` like `Cache-Control: max-age` but only if it is absent
*
* @param array<string,mixed> $http_headers HTTP headers of the response
* @param int $cache_duration Desired cache duration in seconds, potentially overriden by HTTP response headers
* @param int $cache_duration Desired cache duration in seconds, potentially overridden by HTTP response headers
* @param int $cache_duration_min Minimal cache duration (in seconds), overriding HTTP response headers `Cache-Control: max-age` and `Expires`,
* but without effect on `Cache-Control: no-store` and `Cache-Control: no-cache` and `Cache-Control: must-revalidate`
* @param int $cache_duration_max Maximal cache duration (in seconds), overriding HTTP response headers `Cache-Control: max-age` and `Expires`,
* but without effect on `Cache-Control: no-store` and `Cache-Control: no-cache`
* @return int The negociated cache expiration time in seconds since the Unix Epoch
* @return int The negotiated cache expiration time in seconds since the Unix Epoch
*
* FreshRSS
*/
Expand Down
4 changes: 2 additions & 2 deletions src/SimplePie.php
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ class SimplePie
public $force_cache_fallback = false;

/**
* @var int Cache duration (in seconds), but may be overriden by HTTP response headers (FreshRSS)
* @var int Cache duration (in seconds), but may be overridden by HTTP response headers (FreshRSS)
* @see SimplePie::set_cache_duration()
* @access private
*/
Expand Down Expand Up @@ -1009,7 +1009,7 @@ public function force_cache_fallback(bool $enable = false)
*
* FreshRSS: The cache is (partially) HTTP compliant, with the following rules:
*
* @param int $seconds The feed content cache duration, which may be overriden by HTTP response headers)
* @param int $seconds The feed content cache duration, which may be overridden by HTTP response headers)
* @param int $min The minimun cache duration (default: 60s), overriding HTTP response headers `Cache-Control: max-age` and `Expires`,
* but without effect on `Cache-Control: no-store` and `Cache-Control: no-cache` and `Cache-Control: must-revalidate`
* @param int $max The maximum cache duration (default: 24h), overriding HTTP response headers `Cache-Control: max-age` and `Expires`,
Expand Down

0 comments on commit f8e3f92

Please sign in to comment.