@@ -78,8 +78,7 @@ discard block |
||
| 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 |
||
| 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, |