@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | */ |
| 94 | 94 | public function onEndMap(DedicatedMap $map) |
| 95 | 95 | { |
| 96 | - // do nothing |
|
| 96 | + // do nothing |
|
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | /** |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | |
| 118 | 118 | public function onExpansionNextMapChange($nextMap, $previousNextMap) |
| 119 | 119 | { |
| 120 | - // do nothing |
|
| 120 | + // do nothing |
|
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | protected function syncMaps() |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | ['%adminLevel%' => $group, '%admin%' => $nickName, "%parameter%" => $parameter], "en"); |
| 84 | 84 | $this->logger->info("[". $login. "] " . TMString::trimStyles($logMessage)); |
| 85 | 85 | |
| 86 | - } catch (DedicatedException $e) { |
|
| 86 | + } catch (DedicatedException $e) { |
|
| 87 | 87 | $this->logger->error("Error on admin command", ["exception" => $e]); |
| 88 | 88 | $this->chatNotification->sendMessage("expansion_admin_chat.dedicatedexception", $login, |
| 89 | 89 | ["%message%" => $e->getMessage()]); |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | */ |
| 48 | 48 | public function isCompatible(ConfigInterface $config): bool |
| 49 | 49 | { |
| 50 | - return ($config instanceof PasswordConfig); |
|
| 50 | + return ($config instanceof PasswordConfig); |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
@@ -103,12 +103,12 @@ |
||
| 103 | 103 | $this->posY = $posY; |
| 104 | 104 | |
| 105 | 105 | // Update current widgets. |
| 106 | - foreach ($this->guiHandler->getFactoryManialinks($this) as $manialink) { |
|
| 107 | - if ($manialink instanceof FmlManialink) { |
|
| 108 | - $manialink->setPosition($this->posX, $this->posY); |
|
| 109 | - } |
|
| 106 | + foreach ($this->guiHandler->getFactoryManialinks($this) as $manialink) { |
|
| 107 | + if ($manialink instanceof FmlManialink) { |
|
| 108 | + $manialink->setPosition($this->posX, $this->posY); |
|
| 109 | + } |
|
| 110 | 110 | |
| 111 | - $this->update($manialink->getUserGroup()); |
|
| 112 | - } |
|
| 111 | + $this->update($manialink->getUserGroup()); |
|
| 112 | + } |
|
| 113 | 113 | } |
| 114 | 114 | } |
@@ -49,11 +49,11 @@ |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | - * Create the config services. |
|
| 53 | - * |
|
| 54 | - * @param $groups |
|
| 55 | - * @param ContainerBuilder $container |
|
| 56 | - */ |
|
| 52 | + * Create the config services. |
|
| 53 | + * |
|
| 54 | + * @param $groups |
|
| 55 | + * @param ContainerBuilder $container |
|
| 56 | + */ |
|
| 57 | 57 | protected function createConfigs($groups, $permissions, ContainerBuilder $container) |
| 58 | 58 | { |
| 59 | 59 | $configManager = $container->findDefinition(ConfigManagerInterface::class); |