Failed Conditions
Pull Request — experimental/3.1 (#2322)
by Kentaro
51:06
created
src/Eccube/Service/Calculator/ShipmentItemCollection.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
     public function hasProductByName($productName)
46 46
     {
47 47
         $ShipmentItems = array_filter($this->getArrayCopy(),
48
-                                     function ($ShipmentItem) use ($productName) {
49
-                                         /* @var ShipmentItem $ShipmentItem */
50
-                                         return $ShipmentItem->getProductName() == $productName;
51
-                                     });
48
+                                        function ($ShipmentItem) use ($productName) {
49
+                                            /* @var ShipmentItem $ShipmentItem */
50
+                                            return $ShipmentItem->getProductName() == $productName;
51
+                                        });
52 52
         return !empty($ShipmentItems);
53 53
     }
54 54
     // map, filter, reduce も実装したい
Please login to merge, or discard this patch.
src/Eccube/Repository/ShippingRepository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@
 block discarded – undo
274 274
             $multi = preg_match('/^\d+$/', $searchData['multi']) ? $searchData['multi'] : null;
275 275
             $qb
276 276
                 ->andWhere('o.id = :multi OR o.name01 LIKE :likemulti OR o.name02 LIKE :likemulti OR ' .
277
-                           'o.kana01 LIKE :likemulti OR o.kana02 LIKE :likemulti OR o.company_name LIKE :likemulti')
277
+                            'o.kana01 LIKE :likemulti OR o.kana02 LIKE :likemulti OR o.company_name LIKE :likemulti')
278 278
                 ->setParameter('multi', $multi)
279 279
                 ->setParameter('likemulti', '%' . $searchData['multi'] . '%');
280 280
         }
Please login to merge, or discard this patch.