[Numerama] Coding style: reindent code

This commit is contained in:
ORelio 2016-07-19 19:35:43 +02:00
parent 95acb218b4
commit 0e27a6ebab

View file

@ -3,15 +3,15 @@ class NumeramaBridge extends BridgeAbstract{
public function loadMetadatas() {
$this->maintainer = "mitsukarenai";
$this->name = "Numerama";
$this->uri = "http://www.numerama.com/";
$this->description = "Returns the 5 newest posts from Numerama (full text)";
$this->update = "2015-10-12";
$this->maintainer = 'mitsukarenai';
$this->name = 'Numerama';
$this->uri = 'http://www.numerama.com/';
$this->description = 'Returns the 5 newest posts from Numerama (full text)';
$this->update = '2015-10-12';
}
public function collectData(array $param){
public function collectData(array $param) {
function NumeramaStripCDATA($string) {
$string = str_replace('<![CDATA[', '', $string);
@ -46,15 +46,15 @@ class NumeramaBridge extends BridgeAbstract{
}
public function getName(){
public function getName() {
return 'Numerama';
}
public function getURI(){
public function getURI() {
return 'http://www.numerama.com/';
}
public function getCacheDuration(){
public function getCacheDuration() {
return 1800; // 30min
}
}