Completed
Pull Request — master (#50)
by De Cramer
02:53
created
src/eXpansion/Framework/Core/Services/DataProviderManager.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -179,8 +179,8 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,11 +5,8 @@
 block discarded – undo
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 eXpansion\Framework\Core\Storage\GameDataStorage;
10 9
 use oliverde8\AssociativeArraySimplified\AssociativeArray;
11
-use Symfony\Component\DependencyInjection\ContainerAwareInterface;
12
-use Symfony\Component\DependencyInjection\ContainerAwareTrait;
13 10
 use Symfony\Component\DependencyInjection\ContainerInterface;
14 11
 
15 12
 /**
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Services/SymfonyEventAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Services/PluginManager.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -114,9 +114,9 @@  discard block
 block discarded – undo
114 114
      *
115 115
      * @param PluginDescription $plugin
116 116
      * @param $enabledPlugins
117
-     * @param $title
118
-     * @param $mode
119
-     * @param $script
117
+     * @param string $title
118
+     * @param string $mode
119
+     * @param string $script
120 120
      *
121 121
      * @return bool
122 122
      */
@@ -158,9 +158,9 @@  discard block
 block discarded – undo
158 158
      * Enable a plugin for a certain game mode.
159 159
      *
160 160
      * @param PluginDescription $plugin
161
-     * @param $title
162
-     * @param $mode
163
-     * @param $script
161
+     * @param string $title
162
+     * @param string $mode
163
+     * @param string $script
164 164
      */
165 165
     protected function enablePlugin(PluginDescription $plugin, $title, $mode, $script) {
166 166
         $plugin->setIsEnabled(true);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         $mode = $this->gameDataStorage->getGameModeCode();
70 70
         $script = $this->gameDataStorage->getGameInfos()->scriptName;
71 71
 
72
-        $this->enableDisablePlugins($title, $mode, $script);    }
72
+        $this->enableDisablePlugins($title, $mode, $script); }
73 73
 
74 74
     /**
75 75
      * Enable all possible plugins.
Please login to merge, or discard this patch.