Skip to content

Commit e1a6d2c

Browse files
2 parents 4314125 + b111eb2 commit e1a6d2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
},
2121
"require": {
22-
"guzzlehttp/guzzle": "^6.0",
22+
"guzzlehttp/guzzle": "^7.0",
2323
"ext-json": "*"
2424
}
2525
}

src/lib/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function __construct(array $config)
6565

6666
$nearestNode = $config['nearest_node'] ?? [];
6767
if (!empty($nearestNode)) {
68-
$this->nearestNode = new Node($nearestNode['host'], $nearestNode['post'], $nearestNode['path'] ?? '', $nearestNode['protocol']);
68+
$this->nearestNode = new Node($nearestNode['host'], $nearestNode['port'], $nearestNode['path'] ?? '', $nearestNode['protocol']);
6969
}
7070

7171
$this->apiKey = $config['api_key'] ?? '';
@@ -174,4 +174,4 @@ public function getHealthcheckIntervalSeconds()
174174
return $this->healthcheckIntervalSeconds;
175175
}
176176

177-
}
177+
}

0 commit comments

Comments
 (0)