From 7d582df2127519a02ab373a3aa2298514db33002 Mon Sep 17 00:00:00 2001 From: Diederik de Groot Date: Tue, 17 Mar 2020 12:52:17 +0100 Subject: [PATCH] No Enum class to extend (at the moment) --- lib/crypto.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/crypto.php b/lib/crypto.php index 447e2d7..f039960 100644 --- a/lib/crypto.php +++ b/lib/crypto.php @@ -3,7 +3,8 @@ declare(strict_types=1); namespace SCCP\Crypto; -class HashAlgo extends Enum { +class HashAlgo // extends Enum +{ private const SHA1 = 0; private const SHA256 = 1; } @@ -27,4 +28,4 @@ class Crypto { } class Signer { -} \ No newline at end of file +}