Skip to content

Commit 8bf49a8

Browse files
authored
Merge pull request #288 from TheDigitalOrchard/issue-287
Fixes for Issue 287
2 parents 3eba351 + 84919d9 commit 8bf49a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Identity/v3/Models/Endpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function delete()
8080

8181
public function regionMatches(string $value): bool
8282
{
83-
return $this->region && $this->region == $value;
83+
return in_array($this->region, ['*', $value]);
8484
}
8585

8686
public function interfaceMatches(string $value): bool

src/Identity/v3/Models/Service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ private function nameMatches(string $value): bool
9393

9494
private function typeMatches(string $value): bool
9595
{
96-
return $this->type && $this->type = $value;
96+
return $this->type && $this->type == $value;
9797
}
9898

9999
/**

0 commit comments

Comments
 (0)