Skip to content

Commit 4080942

Browse files
committed
Request::isSameSite() is silently deprecated
1 parent be27298 commit 4080942

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Http/Request.php

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

231231

232-
/**
233-
* Checks whether the request is coming from the same site and was initiated by clicking on a link.
234-
*/
232+
/** @deprecated use isFrom(['same-site', 'same-origin']) */
235233
public function isSameSite(): bool
236234
{
237235
return isset($this->cookies[Helpers::StrictCookieName]);

0 commit comments

Comments
 (0)