diff options
Diffstat (limited to 'lib/public/AppFramework/Db/Entity.php')
-rw-r--r-- | lib/public/AppFramework/Db/Entity.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/AppFramework/Db/Entity.php b/lib/public/AppFramework/Db/Entity.php index 287c991b587..7340df55fc4 100644 --- a/lib/public/AppFramework/Db/Entity.php +++ b/lib/public/AppFramework/Db/Entity.php @@ -38,8 +38,8 @@ abstract class Entity { public $id; - private $_updatedFields = array(); - private $_fieldTypes = array('id' => 'integer'); + private $_updatedFields = []; + private $_fieldTypes = ['id' => 'integer']; /** @@ -95,7 +95,7 @@ abstract class Entity { * @since 7.0.0 */ public function resetUpdatedFields(){ - $this->_updatedFields = array(); + $this->_updatedFields = []; } /** |