Skip to content

Commit 7bd1e77

Browse files
authored
[6.x] Update docblocks to clarify the type of cookie: encrypted or unencrypted (#790)
* Update docblocks to clarify the type of cookie: unencrypted * Update docblocks to clarify the type of cookie: encrypted
1 parent e17ddfb commit 7bd1e77

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Concerns/InteractsWithCookies.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function cookie($name, $value = null, $expiry = null, array $options = []
3434
}
3535

3636
/**
37-
* Get or set a plain cookie's value.
37+
* Get or set an unencrypted cookie's value.
3838
*
3939
* @param string $name
4040
* @param string|null $value

src/Concerns/MakesAssertions.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function assertTitleContains($title)
4242
}
4343

4444
/**
45-
* Assert that the given cookie is present.
45+
* Assert that the given encrypted cookie is present.
4646
*
4747
* @param string $name
4848
* @param bool $decrypt
@@ -61,7 +61,7 @@ public function assertHasCookie($name, $decrypt = true)
6161
}
6262

6363
/**
64-
* Assert that the given plain cookie is present.
64+
* Assert that the given unencrypted cookie is present.
6565
*
6666
* @param string $name
6767
* @return $this
@@ -72,7 +72,7 @@ public function assertHasPlainCookie($name)
7272
}
7373

7474
/**
75-
* Assert that the given cookie is not present.
75+
* Assert that the given encrypted cookie is not present.
7676
*
7777
* @param string $name
7878
* @param bool $decrypt
@@ -91,7 +91,7 @@ public function assertCookieMissing($name, $decrypt = true)
9191
}
9292

9393
/**
94-
* Assert that the given plain cookie is not present.
94+
* Assert that the given unencrypted cookie is not present.
9595
*
9696
* @param string $name
9797
* @return $this
@@ -122,7 +122,7 @@ public function assertCookieValue($name, $value, $decrypt = true)
122122
}
123123

124124
/**
125-
* Assert that a cookie has a given value.
125+
* Assert that an unencrypted cookie has a given value.
126126
*
127127
* @param string $name
128128
* @param string $value

0 commit comments

Comments
 (0)