Skip to content

Commit

Permalink
Fixed: count(): Parameter must be an array or an object that implemen…
Browse files Browse the repository at this point in the history
…ts Countable
  • Loading branch information
Cristi Cotet committed Nov 2, 2017
1 parent 031b7b0 commit 2075b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/FileInfoCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class FileInfoCollection implements \Iterator, \Countable {
/**
* @var FileInfo[]
*/
private $data;
private $data = [];

/**
* @var int
Expand Down

0 comments on commit 2075b32

Please sign in to comment.