We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da05c2a commit f3cc2adCopy full SHA for f3cc2ad
src/Internal/Repository/TransactionRepository.php
@@ -46,8 +46,7 @@ public function insertOne(TransactionDtoInterface $dto): Transaction
46
{
47
$attributes = $this->transformer->extract($dto);
48
$instance = $this->transaction->newInstance($attributes);
49
- $instance->save();
50
-
+ assert($instance->save() === true);
51
assert($instance->getKey() !== null);
52
53
return $instance;
0 commit comments