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.
DeleteManipulator
1 parent b7f23a3 commit 1a149e1Copy full SHA for 1a149e1
src/Storage/Manipulator/Delete/DeleteManipulator.php
@@ -35,7 +35,7 @@ public function __invoke(OptionsInterface $options, FileInterface $file): void
35
$transaction = $this->transactionFactory->create(static function (EntityManagerInterface $em, FileInterface $file) {
36
$em->remove($file);
37
38
- return $file->getSource();
+ return $file;
39
}, [
40
'file' => $file,
41
'options' => $options,
0 commit comments