Skip to content

Commit

Permalink
[NovayaGazetaEuropeBridge]: fix warnings (RSS-Bridge#4154)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzz1y authored and NotsoanoNimus committed Aug 8, 2024
1 parent 1551d42 commit 0f22c82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bridges/NovayaGazetaEuropeBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public function collectData()
$data = json_decode($json);

foreach ($data->records as $record) {
if (!isset($record->blocks)) {
continue;
}
foreach ($record->blocks as $block) {
if (!property_exists($block, 'date')) {
continue;
Expand Down

0 comments on commit 0f22c82

Please sign in to comment.