- Bugfixes done linked to SearchRequest and Searchable features.

- Fixed a bug introduced into PdoObject exception on latest commit.
- Corrected the open() close() enclosure of query condition.
This commit is contained in:
mcndave committed 2020-03-31 13:24:15 -04:00
1 parent f98cb2ded0
commit 84da4dbb7b
9 files changed
+111 -20

No files matched your search

+5 -1
View File
@@ -28,7 +28,11 @@ class Relation implements \Ulmus\Annotation\Annotation {
}
public function entity() {
$e = $this->entity;
try {
$e = $this->entity;
} catch (\Throwable $ex) {
throw new \Exception("Your @Relation annotation seems to be missing an `entity` entry.");
}
return new $e();
}