Completed
Push — master ( f1c66f...84c3a4 )
by Stanislav
02:11
created
src/TransmissionClient.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,14 +48,14 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.