Modernize to PHP 7.0

This commit is contained in:
Yassine Guedidi
2025-04-05 13:14:32 +02:00
parent 745fef44f4
commit 241cddc899
6 changed files with 7 additions and 11 deletions

View File

@ -59,7 +59,7 @@ class ContentProxy
$fetchedContent['title'] = $this->sanitizeContentTitle(
$fetchedContent['title'],
isset($fetchedContent['headers']['content-type']) ? $fetchedContent['headers']['content-type'] : ''
$fetchedContent['headers']['content-type'] ?? ''
);
// when content is imported, we have information in $content