summaryrefslogtreecommitdiffstats
path: root/lib/Db/EntityJSONSerializer.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@m2mobi.com>2018-11-29 20:59:46 +0100
committerSean Molenaar <sean@m2mobi.com>2018-12-14 07:54:43 +0100
commitbecce6b7520912257c3d72697a3aefec9923a467 (patch)
treea2e0da34df11ade7c630e9b681fac6d3b2383918 /lib/Db/EntityJSONSerializer.php
parent0f2645145ac31ad77788954c513f391bc4fbb295 (diff)
Define an official codestyle and adhere to it.
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
+}