- 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:
1 parent
f98cb2ded0
commit
84da4dbb7b
9 files changed
+111
-20
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user