Add PHP 8.1 support for `ramsey/uuid` in version 3.x

This commit is contained in:
Yonas Habteab 2022-06-01 16:54:45 +02:00 committed by Johannes Meyer
parent 4f88584110
commit b4c80ae765
1 changed files with 10 additions and 0 deletions

10
patches/ramsey-uuid.patch Normal file
View File

@ -0,0 +1,10 @@
--- a/vendor/ramsey/uuid/src/Uuid.php
+++ b/vendor/ramsey/uuid/src/Uuid.php
@@ -212,6 +212,7 @@ class Uuid implements UuidInterface
* @return string
* @link http://php.net/manual/en/class.jsonserializable.php
*/
+ #[\ReturnTypeWillChange]
public function jsonSerialize()
{
return $this->toString();