Skip to content

Commit

Permalink
Update incorrect return type for fopen function
Browse files Browse the repository at this point in the history
Currently the docs display a return value of resource but this should be resource|false
  • Loading branch information
jetzemeilink authored Nov 1, 2024
1 parent 7dc9082 commit 24f54be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/filesystem/functions/fopen.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>resource</type><methodname>fopen</methodname>
<type class="union"><type>resource</type><type>false</type></type><methodname>fopen</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>&false;</initializer></methodparam>
Expand Down

0 comments on commit 24f54be

Please sign in to comment.