Skip to content

Commit

Permalink
Fix PHP 7.2 using count() on NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
eigan committed Feb 14, 2018
1 parent 11d0bf5 commit 21ca969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FilenameFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ class FilenameFormatter
/**
* @var Callable[]
*/
private $formatters;
private $formatters = [];

/**
* Cache path -> exif result
*
* @var array
*/
private $cachedExif;
private $cachedExif = [];

/**
* Cache path -> DateTime
Expand Down

0 comments on commit 21ca969

Please sign in to comment.