From 8e3f550a8d06798ea1d5b6fc3bd671e123853e69 Mon Sep 17 00:00:00 2001 From: Jordan Hall Date: Mon, 1 Jun 2020 09:26:43 +0100 Subject: [PATCH] Fix PHP warning if no transformers specified --- src/Objects/Migrator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Objects/Migrator.php b/src/Objects/Migrator.php index 4008705..3a876c4 100644 --- a/src/Objects/Migrator.php +++ b/src/Objects/Migrator.php @@ -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.