Completed
Push — master ( 738519...27dee6 )
by Stanislav
02:21
created
src/Helpers/TorrentListUtils.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $data['rows'] = TableUtils::limitRows($data['rows'], $limit);
88 88
 
89 89
         $data['totals'] = [
90
-            'Total: ' . count($data['rows']),
90
+            'Total: '.count($data['rows']),
91 91
             '',
92 92
             '',
93 93
             self::sumArrayField($data['rows'], 3),
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         $obsolete = [];
105 105
 
106 106
         foreach ($torrentList as $torrent) {
107
-            $key = $torrent[Torrent\Get::NAME] . '_' . $torrent[Torrent\Get::DOWNLOAD_DIR];
107
+            $key = $torrent[Torrent\Get::NAME].'_'.$torrent[Torrent\Get::DOWNLOAD_DIR];
108 108
             $sameNamesAndDirectory[$key][$torrent[Torrent\Get::ID]] = $torrent;
109 109
         }
110 110
 
@@ -158,8 +158,8 @@  discard block
 block discarded – undo
158 158
 
159 159
     private static function getFilesArray($torrent)
160 160
     {
161
-        return array_map(function ($file) {
162
-            return $file['length'] . '_' . $file['name'];
161
+        return array_map(function($file) {
162
+            return $file['length'].'_'.$file['name'];
163 163
         }, $torrent[Torrent\Get::FILES]);
164 164
     }
165 165
 }
Please login to merge, or discard this patch.