Completed
Push — master ( 8d3dbf...7592af )
by Paweł
62:36
created
src/SWP/Bundle/ContentBundle/Hydrator/ArticleHydrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 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.
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     protected function populateLead(PackageInterface $package)
77 77
     {
78 78
         if (null === $package->getDescription() || '' === $package->getDescription()) {
79
-            return trim($package->getDescription().implode('', array_map(function (ItemInterface $item) {
79
+            return trim($package->getDescription().implode('', array_map(function(ItemInterface $item) {
80 80
                 $this->ensureTypeIsAllowed($item->getType());
81 81
 
82 82
                 return ' '.$item->getDescription();
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     protected function populateBody(PackageInterface $package)
95 95
     {
96
-        return $package->getBody().' '.implode('', array_map(function (ItemInterface $item) {
96
+        return $package->getBody().' '.implode('', array_map(function(ItemInterface $item) {
97 97
             $this->ensureTypeIsAllowed($item->getType());
98 98
 
99 99
             return $item->getBody();
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Theme/AmpThemeLoader.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/CoreBundle/Checker/AmpSupportChecker.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/CoreBundle/Controller/StaticThemeAssetsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-     * @param $filePath
66
+     * @param string $filePath
67 67
      *
68 68
      * @return Response
69 69
      */
Please login to merge, or discard this patch.
src/SWP/Component/TemplatesSystem/Gimme/Context/Context.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
     }
296 296
 
297 297
     /**
298
-     * @param array $keys
298
+     * @param string[] $keys
299 299
      *
300 300
      * @return string
301 301
      */
@@ -325,9 +325,9 @@  discard block
 block discarded – undo
325 325
     }
326 326
 
327 327
     /**
328
-     * @param $id
328
+     * @param string $id
329 329
      *
330
-     * @return null|true
330
+     * @return null|boolean
331 331
      */
332 332
     public function restoreTemporaryUnset($id)
333 333
     {
Please login to merge, or discard this patch.
SWP/Component/ContentList/Repository/ContentListItemRepositoryInterface.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/ContentList/ContentListEvents.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.
SWP/Bundle/FacebookInstantArticlesBundle/Parser/TemplateParserInterface.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/FacebookInstantArticlesBundle/Parser/TemplateParser.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.