Completed
Pull Request — master (#893)
by Paweł
10:50
created
src/SWP/Bundle/CoreBundle/Service/ArticleStatisticsService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use SWP\Bundle\ContentBundle\Doctrine\ArticleRepositoryInterface;
25 25
 use SWP\Bundle\ContentBundle\Model\ArticleInterface;
26 26
 use SWP\Bundle\ContentBundle\Model\RouteInterface;
27
-use SWP\Bundle\CoreBundle\Model\Article;
28 27
 use SWP\Component\Storage\Factory\FactoryInterface;
29 28
 use SWP\Component\Storage\Repository\RepositoryInterface;
30 29
 
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Resolver/ArticleResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
         return $result;
63 63
     }
64 64
 
65
+    /**
66
+     * @return string
67
+     */
65 68
     private function getFragmentFromUrl(string $url, string $fragment): ?string
66 69
     {
67 70
         $fragments = \parse_url($url);
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Consumer/ContentPushConsumer.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,8 @@
 block discarded – undo
16 16
 
17 17
 namespace SWP\Bundle\CoreBundle\Consumer;
18 18
 
19
-use Doctrine\DBAL\DBALException;
20 19
 use Doctrine\DBAL\Exception\NotNullConstraintViolationException;
21 20
 use Doctrine\ORM\EntityManagerInterface;
22
-use Doctrine\ORM\NonUniqueResultException;
23 21
 use Doctrine\ORM\ORMException;
24 22
 use Exception;
25 23
 use OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface;
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/EventListener/ProcessArticleMediaListener.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
         }
44 44
 
45 45
         $items = $package->getItems()->filter(
46
-            static function ($entry) use ($guids) {
46
+            static function($entry) use ($guids) {
47 47
                 return !in_array($entry->getGuid(), $guids, true);
48 48
             }
49 49
         );
Please login to merge, or discard this patch.