Skip to content

Commit

Permalink
fixed entity type resolution non expression without resolved as plugi…
Browse files Browse the repository at this point in the history
…n type [closes #20]
  • Loading branch information
hrach committed May 6, 2021
1 parent 0c9ba36 commit c268600
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
### Added

### Fixed
- Fixed entity type resolution on IModel::getRepository() expression.

### Changed

## [0.8.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginGroup = org.nextras.orm.intellij
pluginName = Nextras Orm Plugin
pluginVersion = 0.8.0
pluginVersion = 0.8.1

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html#intellij-platform-based-products-of-recent-ide-versions
# for insight into build numbers and IntelliJ Platform versions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ class CollectionTypeProvider : PhpTypeProvider4 {
type.add(subType)
}
}
if (type.isEmpty) {
parent.type.types.forEach { subType ->
type.add("#$key$subType")
}
}
return type
}
is FieldReference -> {
Expand Down

0 comments on commit c268600

Please sign in to comment.