diff options
author | 2025-01-03 06:19:24 +0100 | |
---|---|---|
committer | 2025-01-03 06:19:24 +0100 | |
commit | 3fc38c15a3afa7e0377e3b6cb4ffec1335a36f63 (patch) | |
tree | a03f4349bfb87a36648cca723fbffcbba091c34f /lib | |
parent | be51ba17df892fde0c371c181425dd636f0f4d37 (diff) | |
download | rss-bridge-3fc38c15a3afa7e0377e3b6cb4ffec1335a36f63.tar.gz rss-bridge-3fc38c15a3afa7e0377e3b6cb4ffec1335a36f63.tar.zst rss-bridge-3fc38c15a3afa7e0377e3b6cb4ffec1335a36f63.zip |
fix: cache 400 and 404, and refactor token auth (#4388)
* fix(cache): also cache 400 and 404 responses
* refactor(token_auth)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.php b/lib/http.php index d1043b33..15d6ebec 100644 --- a/lib/http.php +++ b/lib/http.php @@ -220,7 +220,7 @@ final class Request return $clone; } - public function attribute(string $key, $default = null) + public function getAttribute(string $key, $default = null) { return $this->attributes[$key] ?? $default; } |