We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0973d40 commit e67a4f7Copy full SHA for e67a4f7
src/Syntax/SteamApi/Client.php
@@ -258,12 +258,10 @@ private function convertSteamIdTo64()
258
{
259
if (is_array($this->steamId)) {
260
array_walk($this->steamId, function (&$id) {
261
- if (strpos($id, ':') !== false) {
262
- // Convert the id to all types and grab the 64 bit version
263
- $id = $this->convertToAll($id)->id64;
264
- }
+ // Convert the id to all types and grab the 64 bit version
+ $id = $this->convertToAll($id)->id64;
265
});
266
- } elseif (strpos(':', $this->steamId) !== false) {
+ } else {
267
// Convert the id to all types and grab the 64 bit version
268
$this->steamId = $this->convertToAll($this->steamId)->id64;
269
}
0 commit comments