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 456542a

Browse filesBrowse files
committed
minor #14966 [Config] Remove extra argument from method call (dosten)
This PR was merged into the 3.0-dev branch. Discussion ---------- [Config] Remove extra argument from method call | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT The `$mode` argument of `Filesystem::dumpFile()` is removed in 3.0. Commits ------- f58e5f9 Remove parameter from method call
2 parents 2b858be + f58e5f9 commit 456542a
Copy full SHA for 456542a

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.