@@ -28,7 +28,7 @@ discard block |
||
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 |
||
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 |
||
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; |
@@ -17,7 +17,7 @@ |
||
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 | } |
@@ -16,7 +16,7 @@ |
||
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) { |
@@ -4,5 +4,5 @@ |
||
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 |