Skip to content

Commit ae34d3d

Browse files
committed
fix(logging): frankenphp_log_message arguments def
1 parent 9cc7b0d commit ae34d3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frankenphp.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ function frankenphp_response_headers(): array|bool {}
3232
*/
3333
function apache_response_headers(): array|bool {}
3434

35-
function frankenphp_log_message(str $message, int $level): void {}
35+
function frankenphp_log_message(string $message, int $level): void {}

frankenphp_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ZEND_END_ARG_INFO()
3232

3333
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_frankenphp_log_message, 0, 2,
3434
IS_VOID, 0)
35-
ZEND_ARG_OBJ_INFO(0, message, str, 0)
35+
ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
3636
ZEND_ARG_TYPE_INFO(0, level, IS_LONG, 0)
3737
ZEND_END_ARG_INFO()
3838

0 commit comments

Comments
 (0)