Skip to content

Commit 2075b32

Browse files
author
Cristi Cotet
committed
Fixed: count(): Parameter must be an array or an object that implements Countable
1 parent 031b7b0 commit 2075b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/FileInfoCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class FileInfoCollection implements \Iterator, \Countable {
1111
/**
1212
* @var FileInfo[]
1313
*/
14-
private $data;
14+
private $data = [];
1515

1616
/**
1717
* @var int

0 commit comments

Comments
 (0)