From a7853723d7ea79b812adcda55c48ae0cb68d04e8 Mon Sep 17 00:00:00 2001 From: Julius Haertl Date: Fri, 14 Oct 2016 14:33:30 +0200 Subject: [PATCH] Fix tests on php 5 --- lib/Db/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }