mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[No Squash] Fix Linting (#2527)
This commit is contained in:
parent
cb4bc57c72
commit
76ade41543
@ -81,7 +81,7 @@ URI;
|
|||||||
|
|
||||||
// Try to parse the date
|
// Try to parse the date
|
||||||
$dateTime = DateTime::createFromFormat('d.m.Y', $date);
|
$dateTime = DateTime::createFromFormat('d.m.Y', $date);
|
||||||
if ($dateTime !== FALSE)
|
if ($dateTime !== false)
|
||||||
$item['timestamp'] = $dateTime->getTimestamp();
|
$item['timestamp'] = $dateTime->getTimestamp();
|
||||||
|
|
||||||
return $item;
|
return $item;
|
||||||
|
@ -4,9 +4,9 @@ class LaTeX3ProjectNewslettersBridge extends BridgeAbstract {
|
|||||||
const MAINTAINER = 'µKöff';
|
const MAINTAINER = 'µKöff';
|
||||||
const NAME = 'LaTeX3 Project Newsletters';
|
const NAME = 'LaTeX3 Project Newsletters';
|
||||||
const URI = 'https://www.latex-project.org';
|
const URI = 'https://www.latex-project.org';
|
||||||
const DESCRIPTION = 'Newsletters by the LaTeX3 project team covering topics of interest in the area of'
|
const DESCRIPTION = 'Newsletters by the LaTeX3 project team covering topics of interest in the area of
|
||||||
. 'LaTeX3/expl3 development. They appear in irregular intervals and are not necessarily tied to individual'
|
LaTeX3/expl3 development. They appear in irregular intervals and are not necessarily tied to individual
|
||||||
. 'releases of the software (as the LaTeX3 kernel code is updated rather often).';
|
releases of the software (as the LaTeX3 kernel code is updated rather often).';
|
||||||
|
|
||||||
public function collectData(){
|
public function collectData(){
|
||||||
$html = getSimpleHTMLDOM(static::URI . '/news/latex3-news/') or returnServerError('No contents received!');
|
$html = getSimpleHTMLDOM(static::URI . '/news/latex3-news/') or returnServerError('No contents received!');
|
||||||
|
Loading…
Reference in New Issue
Block a user