Completed
Pull Request — master (#175)
by De Cramer
02:53
created
src/eXpansion/Bundle/AdminChat/ChatCommand/AdminShuffleCommand.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -41,13 +41,11 @@
 block discarded – undo
41 41
      * @param                  $command
42 42
      * @param string           $permission
43 43
      * @param array            $aliases
44
-     * @param ChatNotification $functionName
45 44
      * @param AdminGroups      $adminGroupsHelper
46 45
      * @param Connection       $connection
47 46
      * @param ChatNotification $chatNotification
48 47
      * @param PlayerStorage    $playerStorage
49 48
      * @param LoggerInterface  $logger
50
-     * @param Time             $timeHelper
51 49
      * @param MapStorage       $mapStorage
52 50
      */
53 51
     public function __construct(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             $maps[] = $map->fileName;
87 87
             $allMaps[] = $map->fileName;
88 88
             if (count($maps) > 250) {
89
-                $this->connection->removeMapList($maps,true);
89
+                $this->connection->removeMapList($maps, true);
90 90
                 $maps = [];
91 91
             }
92 92
         }
Please login to merge, or discard this patch.
src/eXpansion/Bundle/CustomChat/Plugins/CustomChat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
         $nick = trim($player->getNickName());
139 139
         $nick = str_ireplace('$w', '', $nick);
140 140
         $nick = str_ireplace('$z', '$z$s', $nick);
141
-        $replacements = [":yes:" => "",":no:" => "", ":happy:" => "", ":sad:" => "", ":heart:" => ""];
141
+        $replacements = [":yes:" => "", ":no:" => "", ":happy:" => "", ":sad:" => "", ":heart:" => ""];
142 142
         // fix for chat...
143 143
         $nick = str_replace(['$<', '$>'], '', $nick);
144 144
         $text = str_replace(['$<', '$>'], '', $text);
Please login to merge, or discard this patch.