Skip to content

Commit

Permalink
Code style correction 2
Browse files Browse the repository at this point in the history
Correct multi-line function call
  • Loading branch information
richard67 committed Nov 5, 2017
1 parent 7ecdfe8 commit 9915d9e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Backend/Facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 9915d9e

Please sign in to comment.