@@ -87,7 +87,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |