Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit f0b130f

Browse files
committed
Changed amazon s3 adapter to return bool result of moving file
1 parent 22fca4c commit f0b130f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Dmyers/Storage/Adapter/AmazonS3.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,14 @@ public function delete($path)
9191
));
9292
}
9393

94+
/**
95+
* {@inheritDoc}
96+
*/
9497
public function move($path, $target)
9598
{
9699
$this->copy($path, $target);
97-
$this->delete($path);
100+
101+
return $this->delete($path);
98102
}
99103

100104
/**

0 commit comments

Comments
 (0)