Skip to content

Commit c425a05

Browse files
Don't redefine functions in stub
1 parent d33de2f commit c425a05

2 files changed

Lines changed: 1 addition & 18 deletions

File tree

frankenphp.stub.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,3 @@ function frankenphp_response_headers(): array|bool {}
3131
* @alias frankenphp_response_headers
3232
*/
3333
function apache_response_headers(): array|bool {}
34-
35-
function cli_set_process_title(string $title): bool {}
36-
37-
function cli_get_process_title(): ?string {}

frankenphp_arginfo.h

Lines changed: 1 addition & 14 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: 1b144396ea8609321ba7fc51b6c22f0d5635197d */
2+
* Stub hash: 05ebde17137c559e891362fba6524fad1e0a2dfe */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_frankenphp_handle_request, 0, 1,
55
_IS_BOOL, 0)
@@ -30,22 +30,11 @@ ZEND_END_ARG_INFO()
3030

3131
#define arginfo_apache_response_headers arginfo_frankenphp_response_headers
3232

33-
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_cli_set_process_title, 0, 1,
34-
_IS_BOOL, 0)
35-
ZEND_ARG_TYPE_INFO(0, title, IS_STRING, 0)
36-
ZEND_END_ARG_INFO()
37-
38-
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_cli_get_process_title, 0, 0,
39-
IS_STRING, 1)
40-
ZEND_END_ARG_INFO()
41-
4233
ZEND_FUNCTION(frankenphp_handle_request);
4334
ZEND_FUNCTION(headers_send);
4435
ZEND_FUNCTION(frankenphp_finish_request);
4536
ZEND_FUNCTION(frankenphp_request_headers);
4637
ZEND_FUNCTION(frankenphp_response_headers);
47-
ZEND_FUNCTION(cli_set_process_title);
48-
ZEND_FUNCTION(cli_get_process_title);
4938

5039
// clang-format off
5140
static const zend_function_entry ext_functions[] = {
@@ -58,8 +47,6 @@ static const zend_function_entry ext_functions[] = {
5847
ZEND_FALIAS(getallheaders, frankenphp_request_headers, arginfo_getallheaders)
5948
ZEND_FE(frankenphp_response_headers, arginfo_frankenphp_response_headers)
6049
ZEND_FALIAS(apache_response_headers, frankenphp_response_headers, arginfo_apache_response_headers)
61-
ZEND_FE(cli_set_process_title, arginfo_cli_set_process_title)
62-
ZEND_FE(cli_get_process_title, arginfo_cli_get_process_title)
6350
ZEND_FE_END
6451
};
6552
// clang-format on

0 commit comments

Comments
 (0)