Skip to content

Commit

Permalink
fixed Type mismatch error error
Browse files Browse the repository at this point in the history
  • Loading branch information
BOPOH committed Jul 27, 2024
1 parent ae1c9b3 commit 2fc2d6b
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 2fc2d6b

Please sign in to comment.