Skip to content

Commit

Permalink
Merge pull request #319 from cristicotet/master
Browse files Browse the repository at this point in the history
Fixed: #315 count(): Parameter must be an array or an object that implemen…
  • Loading branch information
theseer committed Dec 15, 2017
2 parents 198a958 + 1eb6175 commit e521bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/FileInfoCollection.php
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 e521bc9

Please sign in to comment.