diff --git a/Relation.php b/Relation.php index c68d93e..c01cb23 100644 --- a/Relation.php +++ b/Relation.php @@ -35,7 +35,7 @@ class Relation extends Component */ public function hasIdentification(string $identification): bool { - return isset($this->_query[$identification]) && $this->_query[$identification] instanceof ActiveQueryInterface; + return isset($this->_query[$identification]); } /**