Completed
Push — master ( b21f25...8e286a )
by Paweł
20s queued 11s
created
SWP/Bundle/FixturesBundle/DataFixtures/ORM/LoadArticlesSlideshowsData.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -38,6 +38,10 @@
 block discarded – undo
38 38
         $manager->flush();
39 39
     }
40 40
 
41
+    /**
42
+     * @param string $env
43
+     * @param ObjectManager $manager
44
+     */
41 45
     public function loadArticles($env, $manager)
42 46
     {
43 47
         $articles = [
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/MessageHandler/AbstractContentPushHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 
19 19
 use Doctrine\DBAL\Exception\NotNullConstraintViolationException;
20 20
 use Doctrine\ORM\EntityManagerInterface;
21
-use Doctrine\ORM\NonUniqueResultException;
22 21
 use Psr\Log\LoggerInterface;
23 22
 use Sentry\Breadcrumb;
24 23
 use Sentry\State\HubInterface;
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/MessageHandler/ImageConversionHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@
 block discarded – undo
112 112
         }
113 113
     }
114 114
 
115
+    /**
116
+     * @param ImageInterface $image
117
+     */
115 118
     private function markArticlesMediaAsUpdated($image)
116 119
     {
117 120
         /** @var ImageRenditionInterface[] $articleMedia */
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/EventListener/ImageToWebpConversionListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
         $tenantId = $this->tenantContext->getTenant()->getId();
54 54
 
55
-        $this->eventDispatcher->addListener(KernelEvents::TERMINATE, function (TerminateEvent $event) use ($rendition, $tenantId) {
55
+        $this->eventDispatcher->addListener(KernelEvents::TERMINATE, function(TerminateEvent $event) use ($rendition, $tenantId) {
56 56
             $this->messageBus->dispatch(new ConvertImageMessage(
57 57
                 (int) $rendition->getImage()->getId(),
58 58
                 (int) $tenantId
Please login to merge, or discard this patch.