define the type

This commit is contained in:
HB9HIL
2026-03-16 15:59:09 +01:00
parent 30fe503d9b
commit 0f1a2f1f89

View File

@@ -143,7 +143,7 @@ class Header_auth extends CI_Controller {
*
* @return bool
*/
private function _verify_jwtdata($claims = null) {
private function _verify_jwtdata(?array $claims = null): bool {
// No claim, no verificiation
if (!$claims) {
log_message('error', 'JWT Verification: No claim data received.');