[Numerama] Coding style: reindent code
This commit is contained in:
parent
95acb218b4
commit
0e27a6ebab
1 changed files with 44 additions and 44 deletions
|
@ -3,15 +3,15 @@ class NumeramaBridge extends BridgeAbstract{
|
||||||
|
|
||||||
public function loadMetadatas() {
|
public function loadMetadatas() {
|
||||||
|
|
||||||
$this->maintainer = "mitsukarenai";
|
$this->maintainer = 'mitsukarenai';
|
||||||
$this->name = "Numerama";
|
$this->name = 'Numerama';
|
||||||
$this->uri = "http://www.numerama.com/";
|
$this->uri = 'http://www.numerama.com/';
|
||||||
$this->description = "Returns the 5 newest posts from Numerama (full text)";
|
$this->description = 'Returns the 5 newest posts from Numerama (full text)';
|
||||||
$this->update = "2015-10-12";
|
$this->update = '2015-10-12';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param) {
|
||||||
|
|
||||||
function NumeramaStripCDATA($string) {
|
function NumeramaStripCDATA($string) {
|
||||||
$string = str_replace('<![CDATA[', '', $string);
|
$string = str_replace('<![CDATA[', '', $string);
|
||||||
|
@ -46,15 +46,15 @@ class NumeramaBridge extends BridgeAbstract{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getName(){
|
public function getName() {
|
||||||
return 'Numerama';
|
return 'Numerama';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getURI(){
|
public function getURI() {
|
||||||
return 'http://www.numerama.com/';
|
return 'http://www.numerama.com/';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCacheDuration(){
|
public function getCacheDuration() {
|
||||||
return 1800; // 30min
|
return 1800; // 30min
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue