From 3b349d0ea78dd9e72486db9bd1f3f6310e8de85e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20J=C4=99drzejewski?= Date: Tue, 5 Jun 2018 14:40:01 +0200 Subject: [PATCH] Fixed incompatible declaration of Noop::storeContents in php7.2 See the reason: https://3v4l.org/VDT0P The behavior was changed with this PR: https://github.com/php/php-src/pull/2342 but somehow got left undocumented in upgrade file. --- src/Storage/Noop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storage/Noop.php b/src/Storage/Noop.php index 43717ec..ff996e0 100644 --- a/src/Storage/Noop.php +++ b/src/Storage/Noop.php @@ -52,7 +52,7 @@ public function rename($path, $newpath) /** * {@inheritdoc} */ - public function storeContents($directory, array $contents, $recursive) + public function storeContents($directory, array $contents, $recursive = false) { return $contents; }