diff --git a/src/Interfaces/TransformerInterface.php b/src/Interfaces/TransformerInterface.php index a33cbf3..cf5da99 100644 --- a/src/Interfaces/TransformerInterface.php +++ b/src/Interfaces/TransformerInterface.php @@ -7,4 +7,4 @@ interface TransformerInterface { public function transform(DataRow &$dataRow): void; -} \ No newline at end of file +} diff --git a/src/Objects/Migrator.php b/src/Objects/Migrator.php index 01a9897..4008705 100644 --- a/src/Objects/Migrator.php +++ b/src/Objects/Migrator.php @@ -142,6 +142,7 @@ public function setFieldMap(array $fieldMap) * transferred to the destination. * * @param TransformerInterface $transformer + * * @return $this */ public function addTransformer(TransformerInterface $transformer) diff --git a/tests/Integration/MigratorTest.php b/tests/Integration/MigratorTest.php index b2ac0f3..66e6dbc 100644 --- a/tests/Integration/MigratorTest.php +++ b/tests/Integration/MigratorTest.php @@ -1,7 +1,6 @@ addDataItem(new DataItem('md5_name', md5($dataRow->getDataItemByFieldName('name')->value))); } -} \ No newline at end of file +} diff --git a/tests/Integration/includes/TestClasses/UppercaseNameTransformer.php b/tests/Integration/includes/TestClasses/UppercaseNameTransformer.php index 09f4a18..67211ef 100644 --- a/tests/Integration/includes/TestClasses/UppercaseNameTransformer.php +++ b/tests/Integration/includes/TestClasses/UppercaseNameTransformer.php @@ -15,4 +15,4 @@ public function transform(DataRow &$dataRow): void $dataItem->value = strtoupper($dataItem->value); } } -} \ No newline at end of file +}