From f58e5f9c192f09317e5e63b774e81ddf59fd2316 Mon Sep 17 00:00:00 2001 From: Diego Saint Esteben Date: Fri, 12 Jun 2015 17:23:52 -0300 Subject: [PATCH] Remove parameter from method call --- src/Symfony/Component/Config/ConfigCache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Config/ConfigCache.php b/src/Symfony/Component/Config/ConfigCache.php index 1f6e07c20b917..c719921715a67 100644 --- a/src/Symfony/Component/Config/ConfigCache.php +++ b/src/Symfony/Component/Config/ConfigCache.php @@ -108,7 +108,7 @@ public function write($content, array $metadata = null) $mode = 0666; $umask = umask(); $filesystem = new Filesystem(); - $filesystem->dumpFile($this->file, $content, null); + $filesystem->dumpFile($this->file, $content); try { $filesystem->chmod($this->file, $mode, $umask); } catch (IOException $e) { @@ -116,7 +116,7 @@ public function write($content, array $metadata = null) } if (null !== $metadata && true === $this->debug) { - $filesystem->dumpFile($this->getMetaFile(), serialize($metadata), null); + $filesystem->dumpFile($this->getMetaFile(), serialize($metadata)); try { $filesystem->chmod($this->getMetaFile(), $mode, $umask); } catch (IOException $e) {