Skip to content

Commit

Permalink
Merge branch 'release/v0.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
betterthanclay committed Sep 30, 2020
2 parents 063ae69 + fcc793a commit f17e1b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.2.2 (2020-09-30)
* Fixed namespace format dereferencing

## v0.2.1 (2020-09-30)
* Fixed type inference for existing interfaces

Expand Down
2 changes: 1 addition & 1 deletion src/Exceptional/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ protected function importTypes(array $types): void
}
} else {
// Namespace style
if (substr($type, 0, 1) !== '\\') {
if (false === strpos($type, '\\')) {
$type = $this->namespace.'\\'.$type;
}
}
Expand Down

0 comments on commit f17e1b8

Please sign in to comment.