Skip to content

Commit

Permalink
Fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev committed Oct 8, 2024
1 parent 3c980f5 commit e8482bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ final public function __construct(private string $name)

/**
* @return int Type of the item.
* @psalm-return Item::TYPE_*
*/
abstract public function getType(): int;

Expand Down Expand Up @@ -139,7 +140,7 @@ final public function hasUpdatedAt(): bool
* name: string,
* description: string,
* rule_name: string|null,
* type: string,
* type: Item::TYPE_*,
* updated_at: int|null,
* created_at: int|null,
* }
Expand Down

0 comments on commit e8482bd

Please sign in to comment.