Completed
Pull Request — experimental/3.1 (#2608)
by chihiro
157:11 queued 37:19
created
src/Eccube/DI/AutoWiring/FormExtensionAutoWiring.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 {
32 32
     /**
33 33
      * FormExtensionAutoWiring constructor.
34
-     * @param array|string[] $scanDirs
34
+     * @param string[] $scanDirs
35 35
      */
36 36
     public function __construct($scanDirs)
37 37
     {
Please login to merge, or discard this patch.
src/Eccube/DI/AutoWiring/RepositoryAutoWiring.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 {
31 31
     /**
32 32
      * RepositoryAutoWiring constructor.
33
-     * @param array|string[] $scanDirs
33
+     * @param string[] $scanDirs
34 34
      */
35 35
     public function __construct($scanDirs)
36 36
     {
Please login to merge, or discard this patch.
src/Eccube/DI/AutoWiring/RepositoryDefinition.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@
 block discarded – undo
30 30
 {
31 31
     /**
32 32
      * RepositoryDefinition constructor.
33
-     * @param $id
34
-     * @param $refClass
33
+     * @param string $id
34
+     * @param \ReflectionClass $refClass
35 35
      */
36 36
     public function __construct($id, $refClass)
37 37
     {
Please login to merge, or discard this patch.
src/Eccube/Service/EntityProxyService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
 
195 195
     /**
196 196
      * EntityからTraitを削除.
197
-     * @param $entityTokens Tokens Entityのトークン
197
+     * @param Tokens $entityTokens Tokens Entityのトークン
198 198
      * @param $trait string 削除するTraitのFQCN
199 199
      */
200 200
     private function removeTrait($entityTokens, $trait)
Please login to merge, or discard this patch.
src/Eccube/ServiceProvider/QueriesServiceProvider.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
      * This method should only be used to configure services and parameters.
17 17
      * It should not get services.
18 18
      *
19
-     * @param Container $pimple A container instance
20 19
      */
21 20
     public function register(Container $app)
22 21
     {
Please login to merge, or discard this patch.
src/Eccube/Service/PluginService.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -92,6 +92,10 @@  discard block
 block discarded – undo
92 92
     const VENDOR_NAME = 'ec-cube';
93 93
 
94 94
     // ファイル指定してのプラグインインストール
95
+
96
+    /**
97
+     * @param string $path
98
+     */
95 99
     public function install($path, $source = 0)
96 100
     {
97 101
         $pluginBaseDir = null;
@@ -140,6 +144,10 @@  discard block
 block discarded – undo
140 144
     }
141 145
 
142 146
     // インストール事後処理
147
+
148
+    /**
149
+     * @param integer $source
150
+     */
143 151
     public function postInstall($config, $event, $source)
144 152
     {
145 153
         // Proxyのクラスをロードせずにスキーマを更新するために、
@@ -186,6 +194,9 @@  discard block
 block discarded – undo
186 194
         }
187 195
     }
188 196
 
197
+    /**
198
+     * @param string $dir
199
+     */
189 200
     public function unpackPluginArchive($archive, $dir)
190 201
     {
191 202
         $extension = pathinfo($archive, PATHINFO_EXTENSION);
@@ -245,6 +256,9 @@  discard block
 block discarded – undo
245 256
         }
246 257
     }
247 258
 
259
+    /**
260
+     * @param string $yml
261
+     */
248 262
     public function readYml($yml)
249 263
     {
250 264
         if (file_exists($yml)) {
@@ -262,6 +276,9 @@  discard block
 block discarded – undo
262 276
         // ディレクトリ名などに使われれるので厳しめ
263 277
     }
264 278
 
279
+    /**
280
+     * @param string $path
281
+     */
265 282
     public function deleteFile($path)
266 283
     {
267 284
         $f = new Filesystem();
@@ -281,6 +298,9 @@  discard block
 block discarded – undo
281 298
         return $this->appConfig['plugin_realdir'].'/'.$name;
282 299
     }
283 300
 
301
+    /**
302
+     * @param string $d
303
+     */
284 304
     public function createPluginDir($d)
285 305
     {
286 306
         $b = @mkdir($d);
@@ -338,6 +358,9 @@  discard block
 block discarded – undo
338 358
         return $p;
339 359
     }
340 360
 
361
+    /**
362
+     * @param string $method
363
+     */
341 364
     public function callPluginManagerMethod($meta, $method)
342 365
     {
343 366
         $class = '\\Plugin'.'\\'.$meta['code'].'\\'.'PluginManager';
@@ -454,6 +477,9 @@  discard block
 block discarded – undo
454 477
         return true;
455 478
     }
456 479
 
480
+    /**
481
+     * @param string $path
482
+     */
457 483
     public function update(\Eccube\Entity\Plugin $plugin, $path)
458 484
     {
459 485
         $pluginBaseDir = null;
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Store/PluginController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      * @Route("/{_admin}/store/plugin/{id}/enable", requirements={"id" = "\d+"}, name="admin_store_plugin_enable")
280 280
      * @param Application $app
281 281
      * @param Plugin      $Plugin
282
-     * @return RedirectResponse
282
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
283 283
      */
284 284
     public function enable(Application $app, Plugin $Plugin)
285 285
     {
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
      * @Route("/{_admin}/store/plugin/{id}/disable", requirements={"id" = "\d+"}, name="admin_store_plugin_disable")
314 314
      * @param Application $app
315 315
      * @param Plugin      $Plugin
316
-     * @return RedirectResponse
316
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
317 317
      */
318 318
     public function disable(Application $app, Plugin $Plugin)
319 319
     {
Please login to merge, or discard this patch.