Skip to content

Commit 8e3f550

Browse files
committed
Fix PHP warning if no transformers specified
1 parent 1d19678 commit 8e3f550

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Objects/Migrator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Migrator
2828
private $sourceCacheExpiresAfter;
2929
private $showProgressBar = false;
3030
private $validateBeforeMigrating = false;
31-
private $transformers;
31+
private $transformers = [];
3232

3333
/**
3434
* Set the source object to migrate data from.

0 commit comments

Comments
 (0)