From 78b4500ba445ad6e67b897684275640fce2d4786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Mazi=C3=A8re?= Date: Sun, 26 Jun 2016 11:17:12 +0200 Subject: [PATCH] fix indentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- bridges/LWNprevBridge.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/bridges/LWNprevBridge.php b/bridges/LWNprevBridge.php index 44bc555..224a01b 100644 --- a/bridges/LWNprevBridge.php +++ b/bridges/LWNprevBridge.php @@ -1,9 +1,9 @@ jumpToNextTag($h2NextSibling); switch($h2NextSibling->getAttribute('class')){ - case 'FeatureByline': - $item->name=$h2NextSibling->getElementsByTagName('b')->item(0)->textContent; - break; - case 'GAByline': - $text=$h2NextSibling->textContent; - $item->name=substr($text,strpos($text,'by ')); - break; - default: - $item->name='LWN'; - break; + case 'FeatureByline': + $item->name=$h2NextSibling->getElementsByTagName('b')->item(0)->textContent; + break; + case 'GAByline': + $text=$h2NextSibling->textContent; + $item->name=substr($text,strpos($text,'by ')); + break; + default: + $item->name='LWN'; + break; }; $h2FirstChild=$h2->firstChild; @@ -137,7 +137,7 @@ class LWNprevBridge extends BridgeAbstract{ ) ) ){ - $contentEnd=true; + $contentEnd=true; }else{ $content.=$node->C14N(); }