Completed
Push — master ( 4da1f4...8b580e )
by Paweł
08:27
created
SWP/Bundle/ElasticSearchBundle/Controller/Api/ArticleSearchController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher ElasticSearch Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Factory/ApiKeyFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * @param UserInterface $user
39 39
      * @param string|null   $apiKeyValue
40 40
      *
41
-     * @return mixed
41
+     * @return ApiKeyInterface
42 42
      */
43 43
     public function create($user, $apiKeyValue = null)
44 44
     {
Please login to merge, or discard this patch.
src/SWP/Bundle/FixturesBundle/AbstractFixture.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * Loads Alice fixtures.
57 57
      *
58
-     * @param array|string  $paths      Fixtures path(s)
58
+     * @param string[]  $paths      Fixtures path(s)
59 59
      * @param ObjectManager $manager    Object manager
60 60
      * @param array         $parameters Extra parameters
61 61
      */
@@ -112,6 +112,11 @@  discard block
 block discarded – undo
112 112
         return $this->getTenantPrefix(self::DEFAULT_TENANT_DOMAIN).'/'.ltrim($id, '/');
113 113
     }
114 114
 
115
+    /**
116
+     * @param string $id
117
+     *
118
+     * @return null|\SWP\Bundle\ContentBundle\Model\RouteInterface
119
+     */
115 120
     public function getRouteByName($id)
116 121
     {
117 122
         return $this->container->get('swp.provider.route')->getRouteByName($id);
@@ -120,7 +125,7 @@  discard block
 block discarded – undo
120 125
     /**
121 126
      * Gets current tenant's prefix.
122 127
      *
123
-     * @param string $subdomain
128
+     * @param string $domain
124 129
      *
125 130
      * @return string
126 131
      */
Please login to merge, or discard this patch.
src/SWP/Component/Webhook/Model/WebhookInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Webhook Component.
Please login to merge, or discard this patch.
src/SWP/Component/Common/Exception/NotFoundHttpException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Common Component.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Model/ArticleSourceReferenceInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Content Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Model/ArticleSourceReference.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Content Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Model/ArticleSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Content Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Model/ArticleSourceInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Content Bundle.
Please login to merge, or discard this patch.