Skip to content

Commit 7c9cf1e

Browse files
committed
refactor: fix return type
1 parent 7c94d26 commit 7c9cf1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Helpers/html_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function doctype(string $type = 'html5'): string
181181
$config = new DocTypes();
182182
$doctypes = $config->list;
183183

184-
return $doctypes[$type] ?? false;
184+
return $doctypes[$type] ?? '';
185185
}
186186
}
187187

0 commit comments

Comments
 (0)