@@ -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; |