Skip to content

Commit fa35a76

Browse files
committed
Fix missing type cast
1 parent 61c4080 commit fa35a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/php/API.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ protected function buildRequestUrl(string $interface, string $method, int $versi
311311
self::URL,
312312
$interface,
313313
$method,
314-
str_pad($version, 4, '0', STR_PAD_LEFT),
314+
str_pad((string) $version, 4, '0', STR_PAD_LEFT),
315315
self::FORMAT,
316316
$this->key,
317317
http_build_query($params)

0 commit comments

Comments
 (0)