Skip to content

Commit 786bd4a

Browse files
committed
ALLI-21969: clarify serializer docblocks
1 parent 1c4cb7f commit 786bd4a

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/Serializer/NativeSerializer.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
final class NativeSerializer implements Serializer
3030
{
3131
/**
32-
* Only applicable to PHP 7+. This is a set of allowed classes passed
33-
* to the second argument of `unserialize`.
32+
* A set of allowed classes passed to the second argument of `unserialize`.
3433
*
3534
* @var string[]
3635
*/
@@ -96,9 +95,9 @@ private function verifySignature(string $message) : string
9695

9796
/**
9897
* Small wrapper around `unserialize` so we can pass in `$allowedClasses`
99-
* if the PHP version is 7+
98+
* when it is configured.
10099
*
101-
* @param string $str the string to unserialize
100+
* @param string $str The string to unserialize
102101
* @return object|false
103102
*/
104103
private function doUnserialize($str)

0 commit comments

Comments
 (0)