Skip to content

Commit

Permalink
refactor: fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 25, 2023
1 parent 7c94d26 commit 7c9cf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Helpers/html_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function doctype(string $type = 'html5'): string
$config = new DocTypes();
$doctypes = $config->list;

return $doctypes[$type] ?? false;
return $doctypes[$type] ?? '';
}
}

Expand Down

0 comments on commit 7c9cf1e

Please sign in to comment.