Skip to content

Commit

Permalink
Const MAX_KEYS
Browse files Browse the repository at this point in the history
  • Loading branch information
fogelito committed Sep 18, 2023
1 parent a4a19b9 commit f7a7b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/Device/S3.php
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ public function delete(string $path, bool $recursive = false): bool
private function listObjects(string $prefix = '', int $maxKeys = self::MAX_KEYS, string $continuationToken = ''): array
{
if($maxKeys > self::MAX_KEYS){
throw new Exception('max-keys limit is 1000');
throw new Exception('max-keys limit is ' . self::MAX_KEYS);
}

$uri = '/';
Expand Down

0 comments on commit f7a7b6e

Please sign in to comment.