Skip to content

Commit 1a149e1

Browse files
committed
A transaction in a manipulator DeleteManipulator returns a File entity instead of the File's source
1 parent b7f23a3 commit 1a149e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storage/Manipulator/Delete/DeleteManipulator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __invoke(OptionsInterface $options, FileInterface $file): void
3535
$transaction = $this->transactionFactory->create(static function (EntityManagerInterface $em, FileInterface $file) {
3636
$em->remove($file);
3737

38-
return $file->getSource();
38+
return $file;
3939
}, [
4040
'file' => $file,
4141
'options' => $options,

0 commit comments

Comments
 (0)