mirror of
https://github.com/Icinga/icinga-php-thirdparty.git
synced 2025-07-27 15:44:13 +02:00
Add PHP 8.1 support for ramsey/uuid
in version 3.x
This commit is contained in:
parent
4f88584110
commit
b4c80ae765
10
patches/ramsey-uuid.patch
Normal file
10
patches/ramsey-uuid.patch
Normal 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();
|
Loading…
x
Reference in New Issue
Block a user