Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineOmega committed May 9, 2020
1 parent e209c64 commit 0e9647c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Interfaces/TransformerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
interface TransformerInterface
{
public function transform(DataRow &$dataRow): void;
}
}
1 change: 1 addition & 0 deletions src/Objects/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public function setFieldMap(array $fieldMap)
* transferred to the destination.
*
* @param TransformerInterface $transformer
*
* @return $this
*/
public function addTransformer(TransformerInterface $transformer)
Expand Down
1 change: 0 additions & 1 deletion tests/Integration/MigratorTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

use Cache\Adapter\PHPArray\ArrayCachePool;
use DivineOmega\uxdm\Objects\DataItem;
use DivineOmega\uxdm\Objects\Destinations\PDODestination;
use DivineOmega\uxdm\Objects\Exceptions\MissingFieldToMigrateException;
use DivineOmega\uxdm\Objects\Exceptions\NoDestinationException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ public function transform(DataRow &$dataRow): void
{
$dataRow->addDataItem(new DataItem('md5_name', md5($dataRow->getDataItemByFieldName('name')->value)));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ public function transform(DataRow &$dataRow): void
$dataItem->value = strtoupper($dataItem->value);
}
}
}
}

0 comments on commit 0e9647c

Please sign in to comment.