Skip to content

Commit

Permalink
Use close() method instead of calling fclose() directly
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Mar 15, 2021
1 parent 79d442e commit 968a880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zend-mail/library/Zend/Mail/Storage/Mbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ protected function _openMboxFile($filename)
$this->_filemtime = filemtime($this->_filename);

if (!$this->_isMboxFile($this->_fh, false)) {
@fclose($this->_fh);
$this->close();
/**
* @see Zend_Mail_Storage_Exception
*/
Expand Down

0 comments on commit 968a880

Please sign in to comment.