Commit 45a58adc13a for php

commit 45a58adc13ab7ce480865928d32a6244813bce7b
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date:   Sat Nov 28 16:38:08 2026 -0800

    main: voidify `php_startup_sapi_content_types()` (#25686)

    It always returned `SUCCESS`, and the return value was never checked.

diff --git a/main/php_content_types.c b/main/php_content_types.c
index c727d0ed331..8609df30884 100644
--- a/main/php_content_types.c
+++ b/main/php_content_types.c
@@ -37,12 +37,11 @@ SAPI_API SAPI_POST_READER_FUNC(php_default_post_reader)
 /* }}} */

 /* {{{ php_startup_sapi_content_types */
-int php_startup_sapi_content_types(void)
+void php_startup_sapi_content_types(void)
 {
 	sapi_register_default_post_reader(php_default_post_reader);
 	sapi_register_treat_data(php_default_treat_data);
 	sapi_register_input_filter(php_default_input_filter, NULL);
-	return SUCCESS;
 }
 /* }}} */

diff --git a/main/php_content_types.h b/main/php_content_types.h
index e734bb1963c..65786392f28 100644
--- a/main/php_content_types.h
+++ b/main/php_content_types.h
@@ -17,7 +17,7 @@

 SAPI_API SAPI_POST_READER_FUNC(php_default_post_reader);
 SAPI_API SAPI_POST_HANDLER_FUNC(php_std_post_handler);
-int php_startup_sapi_content_types(void);
+void php_startup_sapi_content_types(void);
 int php_setup_sapi_content_types(void);

 #endif /* PHP_CONTENT_TYPES_H */