diff --git a/Classes/S3Target.php b/Classes/S3Target.php index 55546c1..cfed80b 100644 --- a/Classes/S3Target.php +++ b/Classes/S3Target.php @@ -9,7 +9,6 @@ use Aws\S3\Exception\S3Exception; use Aws\S3\S3Client; use TYPO3\Flow\Annotations as Flow; -use TYPO3\Flow\Resource\Collection; use TYPO3\Flow\Resource\CollectionInterface; use TYPO3\Flow\Resource\Exception; use TYPO3\Flow\Resource\Resource; @@ -158,11 +157,11 @@ public function getKeyPrefix() /** * Publishes the whole collection to this target * - * @param \TYPO3\Flow\Resource\Collection $collection The collection to publish + * @param \TYPO3\Flow\Resource\CollectionInterface $collection The collection to publish * @return void * @throws Exception */ - public function publishCollection(Collection $collection) + public function publishCollection(CollectionInterface $collection) { if (!isset($this->existingObjectsInfo)) { $this->existingObjectsInfo = array(); diff --git a/composer.json b/composer.json index 9484c0c..7038338 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "MIT" ], "require": { - "typo3/flow": ">=3.0 <3.1", + "typo3/flow": ">=3.1", "aws/aws-sdk-php": "2.8.*" }, "autoload": { @@ -22,4 +22,4 @@ "Flownative\\Aws\\S3\\": "Classes" } } -} \ No newline at end of file +}