Skip to content

Commit

Permalink
Issue delight-im#35 Reference the self const instead of duplicating t…
Browse files Browse the repository at this point in the history
…he string
  • Loading branch information
phpguru committed Aug 7, 2024
1 parent 54f7d47 commit 6a89ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public function setSameSiteRestriction($sameSiteRestriction) {
public function setPartitioned($partitioned)
{
if ($partitioned) {
$partitioned = 'Partitioned';
$partitioned = self::PARTITIONED;
}
else {
$partitioned = null;
Expand Down

0 comments on commit 6a89ae8

Please sign in to comment.