summaryrefslogtreecommitdiffstats
path: root/db/entityjsonserializer.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/entityjsonserializer.php')
-rw-r--r--db/entityjsonserializer.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/db/entityjsonserializer.php b/db/entityjsonserializer.php
index 7e3357304..c0d946452 100644
--- a/db/entityjsonserializer.php
+++ b/db/entityjsonserializer.php
@@ -16,13 +16,13 @@ namespace OCA\News\Db;
trait EntityJSONSerializer {
- public function serializeFields($properties) {
- $result = [];
- foreach($properties as $property) {
- $result[$property] = $this->$property;
- }
- return $result;
- }
+ public function serializeFields($properties) {
+ $result = [];
+ foreach($properties as $property) {
+ $result[$property] = $this->$property;
+ }
+ return $result;
+ }
} \ No newline at end of file