Completed
Pull Request — master (#213)
by
unknown
07:58
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.
src/eXpansion/Bundle/CustomUi/Plugins/CustomUi.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * @param \SimpleXMLElement $element
87
-     * @param array $elementProperties
87
+     * @param string $elementProperties
88 88
      */
89 89
     protected function configureUiProperty(\SimpleXMLElement $element, $elementProperties)
90 90
     {
Please login to merge, or discard this patch.
src/eXpansion/Bundle/CustomUi/Plugins/CustomUi2.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,10 +57,10 @@
 block discarded – undo
57 57
      *
58 58
      * @param Connection             $connection
59 59
      * @param PlayerStorage          $playerStorage
60
-     * @param Group                  $allPlayers
61
-     * @param Group                  $players
62
-     * @param CustomSpeedWidget      $customSpeedWidget
63
-     * @param CustomSmSpeedWidget      $customSpeedWidget
60
+     * @param string[]                  $allPlayers
61
+     * @param string                  $players
62
+     * @param WidgetFactory[]      $customSpeedWidget
63
+     * @param WidgetFactory[]      $customSpeedWidget
64 64
      * @param CustomCheckpointWidget $customCheckpointWidget
65 65
      * @param CustomScoreboardWidget $customScoreboardWidget
66 66
      * @param GameDataStorage        $gameDataStorage
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Helpers/Countries.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     public function parseCountryFromPath($path)
76 76
     {
77 77
         $parts = explode("|", $path);
78
-        if (count($parts)>= 2) {
78
+        if (count($parts) >= 2) {
79 79
             return $parts[2];
80 80
         }
81 81
 
Please login to merge, or discard this patch.