This commit is contained in:
Yuri Kuznetsov
2022-03-08 16:28:40 +02:00
parent 2731e6cb8e
commit b0920bf63f
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -177,8 +177,10 @@ class BaseEntity implements Entity
$p1 = $attribute;
$p2 = $value;
/** @var mixed $p1 */
/** @var mixed $p2 */
/**
* @var mixed $p1
* @var mixed $p2
*/
if (is_array($p1) || is_object($p1)) {
if (is_object($p1)) {
@@ -97,7 +97,7 @@ class RDBRepository implements Repository
$entity->populateDefaults();
}
/** @var TEntity $entity */
/** @var TEntity */
return $entity;
}