summaryrefslogtreecommitdiff
path: root/src/web/helpers/aria.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/helpers/aria.php')
-rw-r--r--src/web/helpers/aria.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/helpers/aria.php b/src/web/helpers/aria.php
index 8ebfcc5..9782299 100644
--- a/src/web/helpers/aria.php
+++ b/src/web/helpers/aria.php
@@ -1,6 +1,6 @@
<?php /* Copyright (c) 2024 Freya Murphy */
-function aria_section($id, $title = NULL): string {
+function aria_section(string $id, ?string $title = NULL): string {
$out = '';
if ($title) {
$idh = $id . '_heading';