Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f58e5f9

Browse filesBrowse files
committed
Remove parameter from method call
1 parent 2b858be commit f58e5f9
Copy full SHA for f58e5f9

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/Config/ConfigCache.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Config/ConfigCache.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,15 @@ public function write($content, array $metadata = null)
108108
$mode = 0666;
109109
$umask = umask();
110110
$filesystem = new Filesystem();
111-
$filesystem->dumpFile($this->file, $content, null);
111+
$filesystem->dumpFile($this->file, $content);
112112
try {
113113
$filesystem->chmod($this->file, $mode, $umask);
114114
} catch (IOException $e) {
115115
// discard chmod failure (some filesystem may not support it)
116116
}
117117

118118
if (null !== $metadata && true === $this->debug) {
119-
$filesystem->dumpFile($this->getMetaFile(), serialize($metadata), null);
119+
$filesystem->dumpFile($this->getMetaFile(), serialize($metadata));
120120
try {
121121
$filesystem->chmod($this->getMetaFile(), $mode, $umask);
122122
} catch (IOException $e) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.