aboutsummaryrefslogtreecommitdiff
path: root/lib/http.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.php')
-rw-r--r--lib/http.php2
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;
}