Completed
Pull Request — master (#213)
by
unknown
04:49
created
src/eXpansion/Bundle/Maps/Plugins/ManiaExchange.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -299,11 +299,11 @@
 block discarded – undo
299 299
                 $fileSystem->write($file, $result->getResponse());
300 300
             }
301 301
 
302
-             if (!$this->connection->checkMapForCurrentServerParams($titlepack.DIRECTORY_SEPARATOR.$filename)) {
303
-                 $this->chatNotification->sendMessage("expansion_mx.chat.fail");
302
+                if (!$this->connection->checkMapForCurrentServerParams($titlepack.DIRECTORY_SEPARATOR.$filename)) {
303
+                    $this->chatNotification->sendMessage("expansion_mx.chat.fail");
304 304
 
305
-                 return;
306
-             }
305
+                    return;
306
+                }
307 307
 
308 308
             $map = $this->connection->getMapInfo($titlepack.DIRECTORY_SEPARATOR.$filename);
309 309
             $this->connection->addMap($map->fileName);
Please login to merge, or discard this patch.