Passed
Push — master ( 7c8ae3...3c7bda )
by Dāvis
05:29
created
Translatable/Repository/TranslatableRepository.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,12 +25,12 @@
 block discarded – undo
25 25
         self::init($class, $className);
26 26
         $locale = self::getLocaleVar($locale);
27 27
 
28
-        if((int)$id === 0){
28
+        if((int)$id === 0) {
29 29
             $id = Quick::findNextIdExt(self::$entityManager->getMetadataFactory()->getMetadataFor($class));
30 30
         }
31 31
 
32 32
         $update = (int)self::findByLocale($class, $locale, $content, $field, null, $id);
33
-        if($update === 0){
33
+        if($update === 0) {
34 34
             $id = Quick::findNextIdExt(self::$entityManager->getMetadataFactory()->getMetadataFor($class));
35 35
         }
36 36
 
Please login to merge, or discard this patch.