- Completed merge
This commit is contained in:
1 parent
430cd03bc4
commit
00ebf3381f
10 files changed
+93
-34
No files matched your search
@@ -47,8 +47,13 @@ class RelationBuilder
|
||||
|
||||
return $this->resolveRelation($name) ?: $this->resolveVirtual($name);
|
||||
}
|
||||
elseif ( $relation = $this->resolver->searchFieldAnnotation($name, new Relation() ) ) {
|
||||
return $this->instanciateEmptyObject($name, $relation);
|
||||
else {
|
||||
if ( $relation = $this->resolver->searchFieldAnnotation($name, new Relation() ) ) {
|
||||
return $this->instanciateEmptyObject($name, $relation);
|
||||
}
|
||||
elseif ($virtual = $this->resolveVirtual($name)) {
|
||||
return $virtual;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user