[NovayaGazetaEuropeBridge]: fix warnings (#4154)

This commit is contained in:
Dmitry R. 2024-07-28 22:02:47 +02:00 committed by GitHub
parent 00d5242871
commit 376e711f03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,6 +41,9 @@ class NovayaGazetaEuropeBridge extends BridgeAbstract
$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;