mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
[No Squash] Fix Linting (#2527)
This commit is contained in:
parent
cb4bc57c72
commit
76ade41543
2 changed files with 4 additions and 4 deletions
|
@ -81,7 +81,7 @@ URI;
|
|||
|
||||
// Try to parse the date
|
||||
$dateTime = DateTime::createFromFormat('d.m.Y', $date);
|
||||
if ($dateTime !== FALSE)
|
||||
if ($dateTime !== false)
|
||||
$item['timestamp'] = $dateTime->getTimestamp();
|
||||
|
||||
return $item;
|
||||
|
|
|
@ -4,9 +4,9 @@ class LaTeX3ProjectNewslettersBridge extends BridgeAbstract {
|
|||
const MAINTAINER = 'µKöff';
|
||||
const NAME = 'LaTeX3 Project Newsletters';
|
||||
const URI = 'https://www.latex-project.org';
|
||||
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'
|
||||
. 'releases of the software (as the LaTeX3 kernel code is updated rather often).';
|
||||
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
|
||||
releases of the software (as the LaTeX3 kernel code is updated rather often).';
|
||||
|
||||
public function collectData(){
|
||||
$html = getSimpleHTMLDOM(static::URI . '/news/latex3-news/') or returnServerError('No contents received!');
|
||||
|
|
Loading…
Add table
Reference in a new issue