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 f825f20 commit da05c2aCopy full SHA for da05c2a
src/Internal/Repository/TransferRepository.php
@@ -36,8 +36,7 @@ public function insertOne(TransferDtoInterface $dto): Transfer
36
{
37
$attributes = $this->transformer->extract($dto);
38
$instance = $this->transfer->newInstance($attributes);
39
- $instance->save();
40
-
+ assert($instance->save() === true);
41
assert($instance->getKey() !== null);
42
43
return $instance;
0 commit comments