@@ -48,14 +48,14 @@ |
||
48 | 48 | ]; |
49 | 49 | } |
50 | 50 | |
51 | - $cleanedIds = array_map(function ($torrentId) { |
|
52 | - return (int)$torrentId; |
|
51 | + $cleanedIds = array_map(function($torrentId) { |
|
52 | + return (int) $torrentId; |
|
53 | 53 | }, $ids); |
54 | 54 | |
55 | 55 | $this->createSession(); |
56 | 56 | $torrentList = $this->api->torrentGet($this->sessionId, $cleanedIds, $fields); |
57 | 57 | |
58 | - $torrentList = array_map(function ($torrent) { |
|
58 | + $torrentList = array_map(function($torrent) { |
|
59 | 59 | $torrent['age'] = TorrentUtils::getTorrentAgeInDays($torrent); |
60 | 60 | return $torrent; |
61 | 61 | }, $torrentList); |