Skip to content

Commit

Permalink
Adding Interface Check
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenikkusu committed Jan 1, 2022
1 parent 31d9f3c commit 914984b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org).
### Fixed
- Fixed left `null` with `string` condition [#2299](https://github.com/zephir-lang/zephir/issues/2299)
- Improved support of `mixed` type [#2330](https://github.com/zephir-lang/zephir/issues/2330)
- Fixed Interfaces Breaking Child Projects Of Same Root Level Namespace [#2334](https://github.com/zephir-lang/zephir/issues/2334)

## [0.15.2] - 2021-10-24
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Library/Classes/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function get(): string
return $this->classEntries[$className][0];
}

if (class_exists($this->classname)) {
if (class_exists($this->classname) || interface_exists($this->classname)) {
$reflection = new ReflectionClass($this->classname);
$className = $reflection->getName();

Expand Down

0 comments on commit 914984b

Please sign in to comment.