From 2075b32d43063ba5694459e19337111887796062 Mon Sep 17 00:00:00 2001 From: Cristi Cotet Date: Thu, 2 Nov 2017 17:35:18 +0200 Subject: [PATCH] Fixed: count(): Parameter must be an array or an object that implements Countable --- src/shared/FileInfoCollection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/FileInfoCollection.php b/src/shared/FileInfoCollection.php index 33a0f057..fd5cf25c 100644 --- a/src/shared/FileInfoCollection.php +++ b/src/shared/FileInfoCollection.php @@ -11,7 +11,7 @@ class FileInfoCollection implements \Iterator, \Countable { /** * @var FileInfo[] */ - private $data; + private $data = []; /** * @var int