We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ba2707 commit 06ea551Copy full SHA for 06ea551
src/XIVAPI/Guzzle/Guzzle.php
@@ -25,13 +25,11 @@ class Guzzle
25
*/
26
private static function setClient()
27
{
28
- if (self::$client === null) {
29
- self::$client = new Client([
30
- 'base_uri' => self::$environment,
31
- 'timeout' => self::TIMEOUT,
32
- 'verify' => self::VERIFY,
33
- ]);
34
- }
+ self::$client = new Client([
+ 'base_uri' => self::$environment,
+ 'timeout' => self::TIMEOUT,
+ 'verify' => self::VERIFY,
+ ]);
35
}
36
37
public static function setEnvironment(string $environment): void
0 commit comments