Completed
Push — master ( 923939...b71e6c )
by
unknown
102:02 queued 47:03
created
back/src/KI/UserBundle/Command/PhotoUpdateCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@  discard block
 block discarded – undo
78 78
                             $user->setImage($image);
79 79
                         }
80 80
                     }
81
-                }
82
-                else {
81
+                } else {
83 82
                     $notFoundCount++;
84 83
                 }
85 84
                 $em->flush();
@@ -96,8 +95,7 @@  discard block
 block discarded – undo
96 95
                 'Not found photos: ' . $notFoundCount,
97 96
                 'Replaced photos: ' . $updatedExistingPhotoCount,
98 97
             ]);
99
-        }
100
-        else {
98
+        } else {
101 99
             $output->writeln([
102 100
                 'Missing photos in promo : ' . $noPhotoCount,
103 101
                 'Imported missing photos: ' . $updatedNoPhotoCount,
Please login to merge, or discard this patch.