Skip to content

Commit c017cea

Browse files
Fix PHP 8.4 deprecation (#157)
1 parent 3d81e43 commit c017cea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function serialize($data)
2929
* @param array|null $options
3030
* @return mixed
3131
*/
32-
function unserialize($data, array $options = null)
32+
function unserialize($data, ?array $options = null)
3333
{
3434
SerializableClosure::enterContext();
3535
$data = ($options === null || \PHP_MAJOR_VERSION < 7)

0 commit comments

Comments
 (0)