@@ -24,14 +24,14 @@ |
||
24 | 24 | * @param Ulid $postId |
25 | 25 | * @param array $tags |
26 | 26 | */ |
27 | - public function createUpdateTags(Ulid $postId, array $tags): void |
|
27 | + public function createUpdateTags(Ulid $postId, array $tags): void |
|
28 | 28 | { |
29 | 29 | $this->tagsUpdatingRepository->updatePostTags($postId, $tags); |
30 | 30 | $this->deleteEmptyTags(); |
31 | 31 | } |
32 | 32 | |
33 | 33 | |
34 | - public function deleteEmptyTags(): void |
|
34 | + public function deleteEmptyTags(): void |
|
35 | 35 | { |
36 | 36 | $this->tagsDeletingRepository->deleteEmptyTags(); |
37 | 37 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * @param $func |
24 | 24 | * @return TransactionInterface |
25 | 25 | */ |
26 | - public function createTransaction($func): TransactionInterface |
|
26 | + public function createTransaction($func): TransactionInterface |
|
27 | 27 | { |
28 | 28 | $em = $this->getEntityManager(); |
29 | 29 | if(!$em->isOpen()) { |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * @return mixed |
28 | 28 | * @throws \Exception |
29 | 29 | */ |
30 | - public function execute(): mixed |
|
30 | + public function execute(): mixed |
|
31 | 31 | { |
32 | 32 | try { |
33 | 33 | $handler = $this->func; |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * @param $func |
54 | 54 | * @return $this |
55 | 55 | */ |
56 | - public function afterCommit($func): TransactionInterface |
|
56 | + public function afterCommit($func): TransactionInterface |
|
57 | 57 | { |
58 | 58 | $this->afterCommit = $this->afterCommit->append($func); |
59 | 59 | return $this; |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * @param $func |
64 | 64 | * @return $this |
65 | 65 | */ |
66 | - public function afterRollback($func): TransactionInterface |
|
66 | + public function afterRollback($func): TransactionInterface |
|
67 | 67 | { |
68 | 68 | $this->afterRollback = $this->afterRollback->append($func); |
69 | 69 | return $this; |