diff --git a/src/Entity/Project/BudgetItem.php b/src/Entity/Project/BudgetItem.php index 8041312..73ab6b9 100644 --- a/src/Entity/Project/BudgetItem.php +++ b/src/Entity/Project/BudgetItem.php @@ -98,7 +98,8 @@ class BudgetItem implements LocalizedEntityInterface return $this; } - public function getMoney(): ?Money{ + public function getMoney(): ?Money + { return $this->money; } @@ -109,7 +110,8 @@ class BudgetItem implements LocalizedEntityInterface return $this; } - public function getDeadline(): ?ProjectDeadline{ + public function getDeadline(): ?ProjectDeadline + { return $this->deadline; } diff --git a/src/Mapping/Transformer/BudgetMapTransformer.php b/src/Mapping/Transformer/BudgetMapTransformer.php index 9976913..f3f4157 100644 --- a/src/Mapping/Transformer/BudgetMapTransformer.php +++ b/src/Mapping/Transformer/BudgetMapTransformer.php @@ -68,7 +68,6 @@ class BudgetMapTransformer implements PropertyTransformerInterface return $totals; } - private function getItemsSummary(array $items, string $currency, string $type) { if (!\in_array($type, self::VALID_SUMMARY_TYPES)) {