stephenhill/base58 seems not maintained anymore and throws a deprecation warning - fix here for now

This commit is contained in:
Mario
2025-04-16 08:36:10 +00:00
parent fd0f6d4fa8
commit d2aad8a41a

View File

@@ -29,8 +29,8 @@ class Base58
* @since v1.1.0 Added the optional $service argument.
*/
public function __construct(
$alphabet = null,
ServiceInterface $service = null
string|null $alphabet = null,
ServiceInterface|null $service = null
) {
// Handle null alphabet
if (is_null($alphabet) === true) {