Skip to content

Commit caf38b7

Browse files
committed
coverage up
1 parent 388b9ba commit caf38b7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Services/RegulatorService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ public function increase(Wallet $wallet, $value): string
6969
} catch (RecordNotFoundException $exception) {
7070
$value = $this->mathService->round($value);
7171
$this->storageService->sync($this->getKey($wallet->uuid), $value);
72-
} finally {
73-
return $this->amount($wallet);
7472
}
73+
74+
return $this->amount($wallet);
7575
}
7676

7777
/** @param float|int|string $value */

src/WalletServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ private function shouldMigrate(): bool
157157
return WalletConfigure::isRunsMigrations();
158158
}
159159

160+
/** @codeCoverageIgnore */
160161
private function contextBinding(array $bookkeeperStore): void
161162
{
162163
$this->app->when(BookkeeperServiceInterface::class)

0 commit comments

Comments
 (0)