We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7f5340 + 7d42e36 commit 93422ceCopy full SHA for 93422ce
setup/src/Magento/Setup/Module/I18n/Dictionary/Writer/Csv.php
@@ -59,14 +59,18 @@ public function write(Phrase $phrase)
59
*/
60
public function __destructor()
61
{
62
- fclose($this->_fileHandler);
+ if (is_resource($this->_fileHandler)) {
63
+ fclose($this->_fileHandler);
64
+ }
65
}
66
67
/**
68
* Destructor for closing file handler
69
70
public function __destruct()
71
72
73
74
75
76
0 commit comments