Skip to content

Commit 77cf210

Browse files
committed
Request::isSameSite() is silently deprecated
1 parent 916c240 commit 77cf210

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
@@ -231,9 +231,7 @@ public function isSecured(): bool
231231
}
232232

233233

234-
/**
235-
* Is the request coming from the same site and is initiated by clicking on a link?
236-
*/
234+
/** @deprecated use isFrom(['same-site', 'same-origin']) */
237235
public function isSameSite(): bool
238236
{
239237
return isset($this->cookies[Helpers::StrictCookieName]);

0 commit comments

Comments
 (0)