From 48c4033ec60f94952854c02a52c9c8ff2f2d90e8 Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 27 Jul 2024 15:30:19 +0700 Subject: [PATCH] fixed `Type mismatch error` error (#62) --- src/Item/ProofType.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Item/ProofType.php b/src/Item/ProofType.php index e3f44e4..24a76a1 100644 --- a/src/Item/ProofType.php +++ b/src/Item/ProofType.php @@ -8,12 +8,12 @@ class ProofType extends BaseItem protected $type = 'proof_types'; - public function getName(): int + public function getName(): string { return $this->attributes['name']; } - public function getEntityType(): int + public function getEntityType(): string { return $this->attributes['entity_type']; }