summaryrefslogtreecommitdiffstats
path: root/lib/Db/EntityJSONSerializer.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Db/EntityJSONSerializer.php')
-rw-r--r--lib/Db/EntityJSONSerializer.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Db/EntityJSONSerializer.php b/lib/Db/EntityJSONSerializer.php
index 72fbf99ec..3afc18202 100644
--- a/lib/Db/EntityJSONSerializer.php
+++ b/lib/Db/EntityJSONSerializer.php
@@ -17,14 +17,12 @@ trait EntityJSONSerializer
{
- public function serializeFields($properties)
+ public function serializeFields($properties)
{
$result = [];
- foreach($properties as $property) {
+ foreach ($properties as $property) {
$result[$property] = $this->$property;
}
return $result;
}
-
-
-} \ No newline at end of file
+}