Skip to content

Commit

Permalink
Fix PHP warning if no transformers specified
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineOmega committed Jun 1, 2020
1 parent 1d19678 commit 8e3f550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Objects/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Migrator
private $sourceCacheExpiresAfter;
private $showProgressBar = false;
private $validateBeforeMigrating = false;
private $transformers;
private $transformers = [];

/**
* Set the source object to migrate data from.
Expand Down

0 comments on commit 8e3f550

Please sign in to comment.