Skip to content

Commit 4ecbb97

Browse files
Updates guzzle request options (#40)
Request options save_to has been replaced by sink and removed in Guzzle 7.0
1 parent f7c8681 commit 4ecbb97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GeoIPUpdater.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected function updateMaxmindDatabase()
7171
try {
7272
// Download database temp dir
7373
$tempFile = $tempDir.'/geoip';
74-
$this->guzzle->get($maxmindDatabaseUrl, ['save_to' => $tempFile.'.tar.gz']);
74+
$this->guzzle->get($maxmindDatabaseUrl, ['sink' => $tempFile.'.tar.gz']);
7575

7676
$p = new PharData($tempFile.'.tar.gz');
7777
$p->decompress();

0 commit comments

Comments
 (0)