Passed
Push — main ( 512f89...b14a7f )
by Slawomir
04:02
created
src/Modules/Tags/Domain/Logic/TagsUpdater.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,14 +24,14 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Infrastructure/Doctrine/Transactions/DoctrineTransactionFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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()) {
Please login to merge, or discard this patch.
tests/TestUtils/Transaction/InMemoryTransaction.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.