Passed
Push — master ( 7a7cfe...9ace4b )
by Mark
35:26
created
Bundles/Cms/src/Spryker/Zed/Cms/Communication/Table/CmsPageTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     /**
100 100
      * @param array $item
101 101
      *
102
-     * @return array
102
+     * @return string[]
103 103
      */
104 104
     protected function buildLinks($item)
105 105
     {
Please login to merge, or discard this patch.
Bundles/Cms/tests/SprykerTest/Zed/Cms/Business/CmsFacadePageTest.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -474,7 +474,7 @@  discard block
 block discarded – undo
474 474
 
475 475
     /**
476 476
      * @param \Generated\Shared\Transfer\CmsPageTransfer $cmsPageTransfer
477
-     * @param \Generated\Shared\Transfer\CmsPageTransfer $persistedCmsPageTransfer
477
+     * @param CmsPageTransfer|null $persistedCmsPageTransfer
478 478
      *
479 479
      * @return void
480 480
      */
@@ -495,7 +495,7 @@  discard block
 block discarded – undo
495 495
 
496 496
     /**
497 497
      * @param \Generated\Shared\Transfer\CmsPageTransfer $cmsPageTransfer
498
-     * @param \Generated\Shared\Transfer\CmsPageTransfer $persistedCmsPageTransfer
498
+     * @param CmsPageTransfer|null $persistedCmsPageTransfer
499 499
      *
500 500
      * @return void
501 501
      */
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -191,12 +191,12 @@
 block discarded – undo
191 191
      */
192 192
     public function testGetPageUrlPrefixShouldBuildUrlPrefixFromGivenLocalName()
193 193
     {
194
-         $cmsPageAttributeTransfer = new CmsPageAttributesTransfer();
195
-         $cmsPageAttributeTransfer->setLocaleName('en_US');
194
+            $cmsPageAttributeTransfer = new CmsPageAttributesTransfer();
195
+            $cmsPageAttributeTransfer->setLocaleName('en_US');
196 196
 
197
-         $urlPrefix = $this->cmsFacade->getPageUrlPrefix($cmsPageAttributeTransfer);
197
+            $urlPrefix = $this->cmsFacade->getPageUrlPrefix($cmsPageAttributeTransfer);
198 198
 
199
-         $this->assertSame('', $urlPrefix);
199
+            $this->assertSame('', $urlPrefix);
200 200
     }
201 201
 
202 202
     /**
Please login to merge, or discard this patch.
Cms/tests/SprykerTest/Zed/Cms/Business/Mapping/CmsGlossaryReaderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
     }
169 169
 
170 170
     /**
171
-     * @return array
171
+     * @return string[]
172 172
      */
173 173
     protected function getAvailableLocales()
174 174
     {
Please login to merge, or discard this patch.
Bundles/CmsBlock/src/Spryker/Yves/CmsBlock/Twig/Plugin/TwigCmsBlock.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * @param \Silex\Application $application
34 34
      *
35
-     * @return \Twig_SimpleFunction[]
35
+     * @return Twig_SimpleFunction[]
36 36
      */
37 37
     public function getFunctions(Application $application)
38 38
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * @param string $blockName
128 128
      * @param array $availableBlockNames
129 129
      *
130
-     * @return array
130
+     * @return string[]
131 131
      */
132 132
     protected function filterAvailableBlockNames($blockName, array $availableBlockNames)
133 133
     {
Please login to merge, or discard this patch.
src/Spryker/Zed/CmsBlock/Business/Model/CmsBlockGlossaryManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
     }
217 217
 
218 218
     /**
219
-     * @param array $glossaryKeyEntityMap
219
+     * @param SpyCmsBlockGlossaryKeyMapping[] $glossaryKeyEntityMap
220 220
      * @param string $placeholder
221 221
      * @param \Generated\Shared\Transfer\CmsBlockGlossaryPlaceholderTransfer $glossaryPlaceholderTransfer
222 222
      *
Please login to merge, or discard this patch.
SprykerTest/Zed/CmsContentWidget/Business/CmsContentWidgetFacadeTest.php 3 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     }
202 202
 
203 203
     /**
204
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\CmsContentWidget\Dependency\Plugin\CmsContentWidgetParameterMapperPluginInterface
204
+     * @return CmsContentWidgetParameterMapperPluginInterface
205 205
      */
206 206
     protected function createMockedCmsContentWidgetFunction()
207 207
     {
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
     }
235 235
 
236 236
     /**
237
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Zed\CmsContentWidget\CmsContentWidgetConfig
237
+     * @return \Spryker\Zed\Kernel\AbstractBundleConfig
238 238
      */
239 239
     protected function createCmsConfigMock()
240 240
     {
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
     }
243 243
 
244 244
     /**
245
-     * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Shared\CmsContentWidget\Dependency\CmsContentWidgetConfigurationProviderInterface
245
+     * @return CmsContentWidgetConfigurationProviderInterface
246 246
      */
247 247
     protected function createCmsContentWidgetConfigurationProviderMock()
248 248
     {
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -131,11 +131,11 @@  discard block
 block discarded – undo
131 131
     {
132 132
         return [
133 133
             [
134
-               'getFunctionName' => 'functionName',
135
-               'getAvailableTemplates' => [
136
-                   'identifier' => '@module/path/to/template.twig',
137
-               ],
138
-               'getUsageInformation' => 'how to..',
134
+                'getFunctionName' => 'functionName',
135
+                'getAvailableTemplates' => [
136
+                    'identifier' => '@module/path/to/template.twig',
137
+                ],
138
+                'getUsageInformation' => 'how to..',
139 139
             ],
140 140
             [
141 141
                 'getFunctionName' => 'functionName1',
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
         $container = $this->createZedContainer();
186 186
         $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function (Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
187 187
             return [
188
-              'function' => $cmsContentWidgetParameterMapperPluginMock,
188
+                'function' => $cmsContentWidgetParameterMapperPluginMock,
189 189
             ];
190 190
         };
191 191
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         $parameterMap = $cmsFacade->mapContentWidgetParameters("cms content {{ function(['sku1', 'sku2']) }} twig functions.");
72 72
 
73 73
         $this->assertArrayHasKey('function', $parameterMap);
74
-        $this->assertCount(2,  $parameterMap['function']);
74
+        $this->assertCount(2, $parameterMap['function']);
75 75
     }
76 76
 
77 77
     /**
@@ -183,13 +183,13 @@  discard block
 block discarded – undo
183 183
         $cmsBusinessFactory = $this->createBusinessFactory();
184 184
 
185 185
         $container = $this->createZedContainer();
186
-        $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function (Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
186
+        $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function(Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
187 187
             return [
188 188
               'function' => $cmsContentWidgetParameterMapperPluginMock,
189 189
             ];
190 190
         };
191 191
 
192
-        $container[CmsContentWidgetDependencyProvider::FACADE_GLOSSARY] = function (Container $container) {
192
+        $container[CmsContentWidgetDependencyProvider::FACADE_GLOSSARY] = function(Container $container) {
193 193
             return $this->createGlossaryFacadeMock();
194 194
         };
195 195
 
Please login to merge, or discard this patch.
CmsContentWidgetProductConnector/Plugin/CmsProductContentWidgetPlugin.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     }
35 35
 
36 36
     /**
37
-     * @return callable
37
+     * @return \Closure
38 38
      */
39 39
     public function getContentWidgetFunction()
40 40
     {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
      */
156 156
     protected function mapProductStorageTransfer(array $productData)
157 157
     {
158
-       //implement, this method is overwritten and provided in demoshop
158
+        //implement, this method is overwritten and provided in demoshop
159 159
         return (new StorageProductTransfer())->fromArray($productData, true);
160 160
     }
161 161
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function getContentWidgetFunction()
40 40
     {
41
-        return function (Twig_Environment $twig, array $context, $productAbstractSkuList, $templateIdentifier = null) {
41
+        return function(Twig_Environment $twig, array $context, $productAbstractSkuList, $templateIdentifier = null) {
42 42
             return $twig->render(
43 43
                 $this->resolveTemplatePath($templateIdentifier),
44 44
                 $this->getContent($context, $productAbstractSkuList)
Please login to merge, or discard this patch.
Spryker/Zed/CmsGui/Communication/Controller/CreateGlossaryController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     }
97 97
 
98 98
     /**
99
-     * @param \Generated\Shared\Transfer\CmsPageTransfer $cmsPageTransfer
99
+     * @param CmsPageTransfer|null $cmsPageTransfer
100 100
      *
101 101
      * @return \Generated\Shared\Transfer\ButtonTransfer[]
102 102
      */
Please login to merge, or discard this patch.
Config/tests/SprykerTest/Shared/Config/_support/Helper/ConfigInit.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
     }
70 70
 
71 71
     /**
72
-     * @param array $configPaths
72
+     * @param string[] $configPaths
73 73
      *
74 74
      * @return array
75 75
      */
Please login to merge, or discard this patch.