Completed
Pull Request — experimental/3.1 (#2154)
by Kentaro
448:33 queued 441:10
created
src/Eccube/Controller/Admin/Store/PluginController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 use Eccube\Form\Type\Admin\PluginLocalInstallType;
32 32
 use Eccube\Form\Type\Admin\PluginManagementType;
33 33
 use Eccube\Util\Str;
34
-use Monolog\Logger;
35 34
 use Symfony\Component\Filesystem\Filesystem;
36 35
 use Symfony\Component\Finder\Finder;
37 36
 use Symfony\Component\Form\Extension\Core\Type\TextType;
Please login to merge, or discard this patch.
src/Eccube/Service/Calculator/OrderDetailCollection.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@
 block discarded – undo
35 35
     public function hasProductByName($productName)
36 36
     {
37 37
         $OrderDetails = array_filter($this->getArrayCopy(),
38
-                                     function ($OrderDetail) use ($productName) {
39
-                                         return $OrderDetail->getProductName() == $productName;
40
-                                     });
38
+                                        function ($OrderDetail) use ($productName) {
39
+                                            return $OrderDetail->getProductName() == $productName;
40
+                                        });
41 41
         return !empty($OrderDetails);
42 42
     }
43 43
     // map, filter, reduce も実装したい
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     {
19 19
         return new self(array_filter(
20 20
             $this->getArrayCopy(),
21
-            function ($OrderDetail) {
21
+            function($OrderDetail) {
22 22
                 if ($OrderDetail->getProductClass()) {
23 23
                     return true;
24 24
                 }
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     public function hasProductByName($productName)
36 36
     {
37 37
         $OrderDetails = array_filter($this->getArrayCopy(),
38
-                                     function ($OrderDetail) use ($productName) {
38
+                                     function($OrderDetail) use ($productName) {
39 39
                                          return $OrderDetail->getProductName() == $productName;
40 40
                                      });
41 41
         return !empty($OrderDetails);
Please login to merge, or discard this patch.