From 9915d9efe02d17497b6ee1296f3575c44abf367d Mon Sep 17 00:00:00 2001 From: richard67 Date: Sun, 5 Nov 2017 13:02:05 +0100 Subject: [PATCH] Code style correction 2 Correct multi-line function call --- src/Backend/Facebook.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Backend/Facebook.php b/src/Backend/Facebook.php index f8f25d1..129b3c9 100644 --- a/src/Backend/Facebook.php +++ b/src/Backend/Facebook.php @@ -43,9 +43,11 @@ public function getRequest($url) */ public function extractCount(array $data) { - if (isset($data['engagement']['reaction_count'], - $data['engagement']['comment_count'], - $data['engagement']['share_count'])) { + if (isset( + $data['engagement']['reaction_count'], + $data['engagement']['comment_count'], + $data['engagement']['share_count'] + )) { return $data['engagement']['reaction_count'] + $data['engagement']['comment_count'] + $data['engagement']['share_count'];