Skip to content

Commit a609fed

Browse files
committed
Fix bug #65269: SplFileObject::__construct() throws LogicException as well
Fix for [bug 65269](https://bugs.php.net/bug.php?id=65269). Patch by BenMorel. Closes GH-3. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347670 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent 35b3f41 commit a609fed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reference/spl/splfileobject/construct.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474
<para>
7575
Throws a <classname>RuntimeException</classname> if the <parameter>filename</parameter> cannot be opened.
7676
</para>
77+
<para>
78+
Throws a <classname>LogicException</classname> if the <parameter>filename</parameter> is a directory.
79+
</para>
7780
</refsect1>
7881

7982
<refsect1 role="examples">

0 commit comments

Comments
 (0)