From 6262b1d72e84fa39bc611f90faf58a79a345a555 Mon Sep 17 00:00:00 2001 From: Corentin Garcia Date: Fri, 24 Mar 2017 14:31:59 +0100 Subject: [PATCH] [GithubSearchBridge] Updated conditions coding style --- bridges/GithubSearchBridge.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bridges/GithubSearchBridge.php b/bridges/GithubSearchBridge.php index e813e9c9..3763ee81 100644 --- a/bridges/GithubSearchBridge.php +++ b/bridges/GithubSearchBridge.php @@ -34,12 +34,10 @@ class GithubSearchBridge extends BridgeAbstract { $title = $element->find('h3', 0)->plaintext; $item['title'] = $title; - if (count($element->find('p')) == 2) - { + if (count($element->find('p')) == 2){ $content = $element->find('p', 0)->innertext; } - else - { + else{ $content = ''; } $item['content'] = $content;