From f30275f6db39099ed0da85df416625b18a497096 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 16 Jan 2018 22:46:20 +0000 Subject: [PATCH] Oh, standards ... --- src/Model/Item.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index 19225beab5..06c6252742 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -72,7 +72,8 @@ class Item * * @param integer $itemid Item ID that should be added */ - public static function addShadow($itemid) { + public static function addShadow($itemid) + { $fields = ['uid', 'wall', 'private', 'moderated', 'visible', 'contact-id', 'deleted', 'network', 'author-id', 'owner-id']; $condition = ["`id` = ? AND (`parent` = ? OR `parent` = 0)", $itemid, $itemid]; $item = dba::selectFirst('item', $fields, $condition); @@ -154,7 +155,8 @@ class Item * * @param integer $itemid Item ID that should be added */ - public static function addShadowPost($itemid) { + public static function addShadowPost($itemid) + { $item = dba::selectFirst('item', [], ['id' => $itemid]); if (!DBM::is_result($item)) { return;