From ba2dc81c8040989569d5552c51abd0054965d005 Mon Sep 17 00:00:00 2001 From: Matt Porritt Date: Thu, 2 Mar 2023 11:41:49 +1100 Subject: [PATCH] MDL-76924 Libraries: Upgrade php-enum to 1.8.4 --- lib/php-enum/src/Enum.php | 2 +- lib/thirdpartylibs.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/php-enum/src/Enum.php b/lib/php-enum/src/Enum.php index 89064eba743..4c94cf6d3b5 100644 --- a/lib/php-enum/src/Enum.php +++ b/lib/php-enum/src/Enum.php @@ -19,7 +19,7 @@ namespace MyCLabs\Enum; * @psalm-immutable * @psalm-consistent-constructor */ -abstract class Enum implements \JsonSerializable +abstract class Enum implements \JsonSerializable, \Stringable { /** * Enum value diff --git a/lib/thirdpartylibs.xml b/lib/thirdpartylibs.xml index b0473bd7fe3..44eb5579093 100644 --- a/lib/thirdpartylibs.xml +++ b/lib/thirdpartylibs.xml @@ -598,7 +598,7 @@ All rights reserved. php-enum php-enum PHP Enum implementation inspired from SplEnum - 1.8.3 + 1.8.4 MIT https://github.com/myclabs/php-enum