Skip to content

Commit 68e52ef

Browse files
authored
Fix Apache functions return types to reflect the stubs (#4076)
This was already the case in PHP 7.
1 parent ff5efae commit 68e52ef

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

reference/apache/functions/apache-request-headers.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
<refsect1 role="returnvalues">
2828
&reftitle.returnvalues;
2929
<para>
30-
An associative array of all the HTTP headers in the current request, or
31-
&false; on failure.
30+
An associative array of all the HTTP headers in the current request.
3231
</para>
3332
</refsect1>
3433

reference/apache/functions/apache-response-headers.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<refsect1 role="description">
1111
&reftitle.description;
1212
<methodsynopsis>
13-
<type class="union"><type>array</type><type>false</type></type><methodname>apache_response_headers</methodname>
13+
<type>array</type><methodname>apache_response_headers</methodname>
1414
<void/>
1515
</methodsynopsis>
1616
<para>
@@ -27,7 +27,7 @@
2727
<refsect1 role="returnvalues">
2828
&reftitle.returnvalues;
2929
<para>
30-
An array of all Apache response headers on success&return.falseforfailure;.
30+
An array of all Apache response headers on success.
3131
</para>
3232
</refsect1>
3333

reference/apache/functions/getallheaders.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
<refsect1 role="returnvalues">
3232
&reftitle.returnvalues;
3333
<para>
34-
An associative array of all the HTTP headers in the current request, or
35-
&false; on failure.
34+
An associative array of all the HTTP headers in the current request.
3635
</para>
3736
</refsect1>
3837

0 commit comments

Comments
 (0)