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'];