Skip to content

Commit 948921d

Browse files
committed
fix(logging): frankenphp_log_message arguments def
1 parent 4376cc8 commit 948921d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

frankenphp.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ function apache_response_headers(): array|bool {}
3737
*/
3838
function mercure_publish(string|array $topics, string $data = '', bool $private = false, ?string $id = null, ?string $type = null, ?int $retry = null): string {}
3939

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

frankenphp_arginfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 4005bdacf910203ece3c3074cc6a067dc57f86ac */
2+
* Stub hash: dfc970945515e93e49bf676f5a08578101e62104 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_frankenphp_handle_request, 0, 1, _IS_BOOL, 0)
55
ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
@@ -36,7 +36,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mercure_publish, 0, 1, IS_STRING
3636
ZEND_END_ARG_INFO()
3737

3838
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_frankenphp_log_message, 0, 2, IS_VOID, 0)
39-
ZEND_ARG_OBJ_INFO(0, message, str, 0)
39+
ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
4040
ZEND_ARG_TYPE_INFO(0, level, IS_LONG, 0)
4141
ZEND_END_ARG_INFO()
4242

0 commit comments

Comments
 (0)