Skip to content

Commit 8ca4248

Browse files
committed
Request::isSameSite() is silently deprecated
1 parent 917c6c4 commit 8ca4248

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Http/Request.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,7 @@ public function isSecured(): bool
221221
}
222222

223223

224-
/**
225-
* Is the request coming from the same site and is initiated by clicking on a link?
226-
*/
224+
/** @deprecated use isFrom(['same-site', 'same-origin']) */
227225
public function isSameSite(): bool
228226
{
229227
return isset($this->cookies[Helpers::StrictCookieName]);

0 commit comments

Comments
 (0)