diff --git a/lib/Db/Entity.php b/lib/Db/Entity.php index 8463bdd53..450e376b4 100644 --- a/lib/Db/Entity.php +++ b/lib/Db/Entity.php @@ -40,7 +40,7 @@ class Entity extends \OCP\AppFramework\Db\Entity { * Mark a property as relation so it will not get updated using Mapper::update * @param string $property Name of the property */ - public function addRelation(string $property) { + public function addRelation($property) { if (!in_array($property, $this->_relations)) { $this->_relations[] = $property; }