@@ -179,8 +179,8 @@ |
||
| 179 | 179 | /** |
| 180 | 180 | * Provider to delete a plugin from. |
| 181 | 181 | * |
| 182 | - * @param $provider |
|
| 183 | - * @param $pluginId |
|
| 182 | + * @param string $provider |
|
| 183 | + * @param string $pluginId |
|
| 184 | 184 | * |
| 185 | 185 | */ |
| 186 | 186 | public function deletePlugin($provider, $pluginId) |
@@ -5,10 +5,7 @@ |
||
| 5 | 5 | use eXpansion\Framework\Core\DataProviders\AbstractDataProvider; |
| 6 | 6 | use eXpansion\Framework\Core\Exceptions\DataProvider\UncompatibleException; |
| 7 | 7 | use eXpansion\Framework\Core\Model\ProviderListner; |
| 8 | -use eXpansion\Framework\Core\Plugins\StatusAwarePluginInterface; |
|
| 9 | 8 | use oliverde8\AssociativeArraySimplified\AssociativeArray; |
| 10 | -use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
|
| 11 | -use Symfony\Component\DependencyInjection\ContainerAwareTrait; |
|
| 12 | 9 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 13 | 10 | |
| 14 | 11 | /** |
@@ -45,6 +45,6 @@ |
||
| 45 | 45 | |
| 46 | 46 | $event = new DedicatedEvent(); |
| 47 | 47 | $event->setParameters($params); |
| 48 | - $this->symfonyEventDispatcher->dispatch("maniaplanet.game." . $eventName, $event); |
|
| 48 | + $this->symfonyEventDispatcher->dispatch("maniaplanet.game.".$eventName, $event); |
|
| 49 | 49 | } |
| 50 | 50 | } |
| 51 | 51 | \ No newline at end of file |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | $mode = 'script'; |
| 64 | 64 | $script = 'TimeAttack.script.txt'; |
| 65 | 65 | |
| 66 | - $this->enableDisablePlugins($title, $mode, $script); } |
|
| 66 | + $this->enableDisablePlugins($title, $mode, $script); } |
|
| 67 | 67 | |
| 68 | 68 | /** |
| 69 | 69 | * Enable all possible plugins. |