Completed
Push — 1.0 ( 046da8...d5bf3f )
by Paweł
07:50
created
src/SWP/Bundle/CoreBundle/Serializer/TenantHandler.php 2 patches
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 Core Bundle.
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -74,17 +74,17 @@
 block discarded – undo
74 74
         }
75 75
 
76 76
         return [
77
-           'id' => $tenant->getId(),
78
-           'subdomain' => $tenant->getSubdomain(),
79
-           'domainName' => $tenant->getDomainName(),
80
-           'code' => $tenantCode,
81
-           'name' => $tenant->getName(),
82
-           'ampEnabled' => $tenant->isAmpEnabled(),
77
+            'id' => $tenant->getId(),
78
+            'subdomain' => $tenant->getSubdomain(),
79
+            'domainName' => $tenant->getDomainName(),
80
+            'code' => $tenantCode,
81
+            'name' => $tenant->getName(),
82
+            'ampEnabled' => $tenant->isAmpEnabled(),
83 83
             '_links' => [
84 84
                 'self' => [
85 85
                     'href' => $this->router->generate('swp_api_core_get_tenant', ['code' => $tenantCode]),
86 86
                 ],
87 87
             ],
88
-       ];
88
+        ];
89 89
     }
90 90
 }
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Service/ArticleService.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/Component/Common/Request/RequestParser.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 Core Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentListBundle/Services/ContentListService.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 List Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentListBundle/Services/ContentListServiceInterface.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 List Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/EventListener/AddArticleToListListener.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 Core Bundle.
Please login to merge, or discard this patch.
src/SWP/Bundle/BridgeBundle/EventListener/ValidationExceptionListener.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 Bridge Bundle.
Please login to merge, or discard this patch.
src/SWP/Component/Bridge/Events.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 Bridge Component.
Please login to merge, or discard this patch.
src/SWP/Bundle/BridgeBundle/EventListener/ValidationListener.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 Bridge Bundle.
Please login to merge, or discard this patch.