1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Ternary to null coalescing

Use null coalescing operator ?? where possible.

Closes GH-528.
This commit is contained in:
Mathias Reker ⚡️
2022-06-17 18:43:40 +02:00
committed by GitHub
parent 89ac76cd81
commit ede0cad42f
3 changed files with 5 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ site_header('Unsupported Branches');
</a>
</td>
<td>
<?php echo isset($BRANCH_NOTES[$branch]) ? $BRANCH_NOTES[$branch] : ''; ?>
<?php echo $BRANCH_NOTES[$branch] ?? ''; ?>
</td>
</tr>
<?php endforeach ?>