Passed
Push — main ( 26e7d9...b872c4 )
by Slawomir
04:27
created
src/Infrastructure/Doctrine/Transactions/DoctrineTransaction.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * @return mixed
29 29
      * @throws \Exception
30 30
      */
31
-   public function execute(): mixed
31
+    public function execute(): mixed
32 32
     {
33 33
         try {
34 34
             $result = $this->entityManager->wrapInTransaction($this->func);
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * @param $func
49 49
      * @return $this
50 50
      */
51
-   public function afterCommit($func): self
51
+    public function afterCommit($func): self
52 52
     {
53 53
         $this->afterCommit->add($func);
54 54
         return $this;
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @param $func
59 59
      * @return $this
60 60
      */
61
-   public function afterRollback($func): self
61
+    public function afterRollback($func): self
62 62
     {
63 63
         $this->afterRollback->add($func);
64 64
         return $this;
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
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         parent::__construct($managerRegistry);
18 18
     }
19 19
 
20
-   public function createTransaction($func): TransactionInterface
20
+    public function createTransaction($func): TransactionInterface
21 21
     {
22 22
         return new DoctrineTransaction($this->getEntityManager(), $func);
23 23
     }
Please login to merge, or discard this patch.
src/Infrastructure/Security/JWTLoggedInUserProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
     }
18 18
 
19
-   public function getUser(): LoggedInUser
19
+    public function getUser(): LoggedInUser
20 20
     {
21 21
         $user = $this->security->getUser();
22 22
         if ($user == null) {
Please login to merge, or discard this patch.
src/Infrastructure/Security/LoggedInUserProviderInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,5 +4,5 @@
 block discarded – undo
4 4
 
5 5
 interface LoggedInUserProviderInterface
6 6
 {
7
-   public function getUser(): LoggedInUser;
7
+    public function getUser(): LoggedInUser;
8 8
 }
9 9
\ No newline at end of file
Please login to merge, or discard this patch.