Completed
Push — missing-product-variant-variab... ( a08960 )
by Kamil
22:45
created
tests/Controller/AdminUserApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@
 block discarded – undo
340 340
         $this->client->request('DELETE', $this->getAdminUserUrl($user['admin']), [], [], static::$authorizedHeaderWithContentType);
341 341
 
342 342
         $response = $this->client->getResponse();
343
-        $this->assertResponse($response, 'admin_user/deletion_fail_response',  Response::HTTP_UNPROCESSABLE_ENTITY);
343
+        $this->assertResponse($response, 'admin_user/deletion_fail_response', Response::HTTP_UNPROCESSABLE_ENTITY);
344 344
     }
345 345
 
346 346
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         return $this->createQueryBuilder('o')
44 44
             ->innerJoin('o.translations', 'translation', 'WITH', 'translation.locale = :locale')
45 45
             ->andWhere('translation.name LIKE :name')
46
-            ->setParameter('name', '%'.$phrase.'%')
46
+            ->setParameter('name', '%' . $phrase . '%')
47 47
             ->setParameter('locale', $locale)
48 48
             ->getQuery()
49 49
             ->getResult()
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/Doctrine/ORM/ProductVariantRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
                 'translation.name LIKE :phrase',
146 146
                 'o.code LIKE :phrase'
147 147
             ))
148
-            ->setParameter('phrase', '%'.$phrase.'%')
148
+            ->setParameter('phrase', '%' . $phrase . '%')
149 149
             ->setParameter('locale', $locale)
150 150
             ->setParameter('productCode', $productCode)
151 151
             ->getQuery()
Please login to merge, or discard this patch.