Various code cleanup.

This commit is contained in:
James Cole
2016-11-20 11:43:19 +01:00
parent 75a524c656
commit 94875adb6c
60 changed files with 544 additions and 563 deletions

View File

@@ -33,8 +33,9 @@ class TagSplit
*
* @return Collection
*/
public static function createSetFromSplits(User $user, array $mapping, array $parts): Collection {
$set = new Collection;
public static function createSetFromSplits(User $user, array $mapping, array $parts): Collection
{
$set = new Collection;
Log::debug('Exploded parts.', $parts);
/** @var TagRepositoryInterface $repository */
@@ -77,6 +78,7 @@ class TagSplit
$set->push($tag);
}
}
return $set;
}