1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Fix Apache functions return types to reflect the stubs (#4076)

This was already the case in PHP 7.
This commit is contained in:
Nicolas DENIS
2024-11-16 05:18:21 +01:00
committed by GitHub
parent ff5efae447
commit 68e52ef14d
3 changed files with 4 additions and 6 deletions

View File

@@ -27,8 +27,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
An associative array of all the HTTP headers in the current request, or
&false; on failure.
An associative array of all the HTTP headers in the current request.
</para>
</refsect1>

View File

@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type class="union"><type>array</type><type>false</type></type><methodname>apache_response_headers</methodname>
<type>array</type><methodname>apache_response_headers</methodname>
<void/>
</methodsynopsis>
<para>
@@ -27,7 +27,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
An array of all Apache response headers on success&return.falseforfailure;.
An array of all Apache response headers on success.
</para>
</refsect1>

View File

@@ -31,8 +31,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
An associative array of all the HTTP headers in the current request, or
&false; on failure.
An associative array of all the HTTP headers in the current request.
</para>
</refsect1>