Skip to content

Commit

Permalink
fixed Type mismatch error error (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
BOPOH authored Jul 27, 2024
1 parent ae1c9b3 commit 48c4033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Item/ProofType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}
Expand Down

0 comments on commit 48c4033

Please sign in to comment.