Skip to content

Commit

Permalink
Merge branch 'hotfix/2.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
cerbero90 committed Jan 30, 2025
2 parents 06fa86d + 3fe5953 commit 427786f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ Updates should follow the [Keep a CHANGELOG](https://keepachangelog.com/) princi
- Nothing


## 2.3.2 - 2025-01-30

### Fixed
- Give priority to properties when resolving a case item


## 2.3.1 - 2025-01-15

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/Concerns/SelfAware.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ public static function metaAttributeNames(): array
public function resolveItem(callable|string $item): mixed
{
return match (true) {
is_string($item) && property_exists($this, $item) => $this->$item,
is_callable($item) => $item($this),
property_exists($this, $item) => $this->$item,
default => $this->resolveMeta($item),
};
}
Expand Down

0 comments on commit 427786f

Please sign in to comment.