Completed
Pull Request — experimental/3.1 (#2669)
by
unknown
34:00 queued 06:13
created
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/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/DI/AutoWiring/RepositoryDefinition.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * RepositoryDefinition constructor.
35
-     * @param $id
36
-     * @param $refClass
37
-     * @param $entityClass
35
+     * @param string $id
36
+     * @param \ReflectionClass $refClass
37
+     * @param string $entityClass
38 38
      */
39 39
     public function __construct($id, $refClass, $entityClass)
40 40
     {
Please login to merge, or discard this patch.
src/Eccube/Service/Composer/OutputParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 
128 128
     /**
129 129
      * @param $rowArray
130
-     * @param $key
130
+     * @param string $key
131 131
      * @return array
132 132
      */
133 133
     private static function parseArrayInfoOutput($rowArray, $key)
Please login to merge, or discard this patch.
src/Eccube/Service/PurchaseFlow/Processor/AddPointProcessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      * @param integer $pointRate ポイント付与率(%)
92 92
      * @param integer $price 単価
93 93
      * @param integer $quantity 数量
94
-     * @return integer additional point
94
+     * @return double additional point
95 95
      */
96 96
     protected function priceToAddPoint($pointRate, $price, $quantity)
97 97
     {
Please login to merge, or discard this patch.
src/Eccube/Repository/DeliveryRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @deprecated 呼び出し元で制御する
45
-     * @param $id
45
+     * @param integer $id
46 46
      * @return Delivery|null|object
47 47
      */
48 48
     public function findOrCreate($id)
Please login to merge, or discard this patch.
src/Eccube/Service/PluginService.php 1 patch
Doc Comments   +22 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      *
115 115
      * @param string $path   path to tar.gz/zip plugin file
116 116
      * @param int    $source
117
-     * @return mixed
117
+     * @return boolean
118 118
      * @throws PluginException
119 119
      * @throws \Exception
120 120
      */
@@ -179,6 +179,10 @@  discard block
 block discarded – undo
179 179
     }
180 180
 
181 181
     // インストール事後処理
182
+
183
+    /**
184
+     * @param integer $source
185
+     */
182 186
     public function postInstall($config, $event, $source)
183 187
     {
184 188
         // Proxyのクラスをロードせずにスキーマを更新するために、
@@ -225,6 +229,10 @@  discard block
 block discarded – undo
225 229
         }
226 230
     }
227 231
 
232
+    /**
233
+     * @param string $archive
234
+     * @param string $dir
235
+     */
228 236
     public function unpackPluginArchive($archive, $dir)
229 237
     {
230 238
         $extension = pathinfo($archive, PATHINFO_EXTENSION);
@@ -284,6 +292,9 @@  discard block
 block discarded – undo
284 292
         }
285 293
     }
286 294
 
295
+    /**
296
+     * @param string $yml
297
+     */
287 298
     public function readYml($yml)
288 299
     {
289 300
         if (file_exists($yml)) {
@@ -301,6 +312,9 @@  discard block
 block discarded – undo
301 312
         // ディレクトリ名などに使われれるので厳しめ
302 313
     }
303 314
 
315
+    /**
316
+     * @param string $path
317
+     */
304 318
     public function deleteFile($path)
305 319
     {
306 320
         $f = new Filesystem();
@@ -320,6 +334,9 @@  discard block
 block discarded – undo
320 334
         return $this->appConfig['plugin_realdir'].'/'.$name;
321 335
     }
322 336
 
337
+    /**
338
+     * @param string $d
339
+     */
323 340
     public function createPluginDir($d)
324 341
     {
325 342
         $b = @mkdir($d);
@@ -377,6 +394,9 @@  discard block
 block discarded – undo
377 394
         return $p;
378 395
     }
379 396
 
397
+    /**
398
+     * @param string $method
399
+     */
380 400
     public function callPluginManagerMethod($meta, $method)
381 401
     {
382 402
         $class = '\\Plugin'.'\\'.$meta['code'].'\\'.'PluginManager';
@@ -873,7 +893,7 @@  discard block
 block discarded – undo
873 893
      * [プラグインコード]/Resource/assets
874 894
      * 配下に置かれているファイルが所定の位置へコピーされる
875 895
      *
876
-     * @param $pluginBaseDir
896
+     * @param string $pluginBaseDir
877 897
      * @param $pluginCode
878 898
      */
879 899
     public function copyAssets($pluginBaseDir, $pluginCode)
Please login to merge, or discard this patch.
src/Eccube/Service/Composer/ComposerApiService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
 
235 235
     /**
236 236
      * Get mode
237
-     * @return mixed|string
237
+     * @return string
238 238
      */
239 239
     public function getMode()
240 240
     {
Please login to merge, or discard this patch.