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.
1 parent 365fb99 commit 7d5943aCopy full SHA for 7d5943a
libraries/namespacemap.php
@@ -144,8 +144,11 @@ protected function writeNamespaceFile($elements)
144
*/
145
$error_reporting = error_reporting(0);
146
147
+ // Convert array of lines to string
148
+ $content = implode("\n", $content);
149
+
150
try {
- File::write($this->file, implode("\n", $content));
151
+ File::write($this->file, $content);
152
} catch (Exception $e) {
153
Log::add('Could not save ' . $this->file, Log::WARNING);
154
0 commit comments