Replace basic 'isset()' cases with the null coalescing operator.
This commit is contained in:
@@ -817,7 +817,7 @@ class API extends Handler {
|
||||
|
||||
$headline_row["labels"] = $labels;
|
||||
|
||||
$headline_row["feed_title"] = isset($line["feed_title"]) ? $line["feed_title"] : $feed_title;
|
||||
$headline_row["feed_title"] = $line["feed_title"] ?? $feed_title;
|
||||
|
||||
$headline_row["comments_count"] = (int)$line["num_comments"];
|
||||
$headline_row["comments_link"] = $line["comments"];
|
||||
|
||||
Reference in New Issue
Block a user