Skip to content

Commit

Permalink
Fix return types to reflect the stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
scoopandrun authored Nov 15, 2024
1 parent 72b70d7 commit ca4f127
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions reference/apache/functions/apache-request-headers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
4 changes: 2 additions & 2 deletions reference/apache/functions/apache-response-headers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>

Expand Down
3 changes: 1 addition & 2 deletions reference/apache/functions/getallheaders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit ca4f127

Please sign in to comment.