Passed
Push — master ( 902a44...7e7d16 )
by mark
01:27
created
Discount/tests/SprykerTest/Zed/Discount/Business/DiscountFacadeTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -755,7 +755,7 @@
 block discarded – undo
755 755
         $discountFacade = $this->createDiscountFacade();
756 756
         $factory = new DiscountBusinessFactory();
757 757
         $container = new Container();
758
-        $container[$dependencyType] = function () use ($discountRulePluginMock) {
758
+        $container[$dependencyType] = function() use ($discountRulePluginMock) {
759 759
             return [
760 760
                 $discountRulePluginMock,
761 761
             ];
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -725,7 +725,7 @@
 block discarded – undo
725 725
     }
726 726
 
727 727
     /**
728
-     * @return \Generated\Shared\Transfer\DiscountConfiguratorTransfer
728
+     * @return string|null
729 729
      */
730 730
     protected function createDiscountConfiguratorTransfer()
731 731
     {
Please login to merge, or discard this patch.
Bundles/Cms/src/Spryker/Zed/Cms/Business/Page/PageManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
     }
364 364
 
365 365
     /**
366
-     * @param \Generated\Shared\Transfer\CmsPageLocalizedAttributesTransfer[]|\ArrayObject $cmsPageLocalizedAttributesTransfers
366
+     * @param ArrayObject $cmsPageLocalizedAttributesTransfers
367 367
      * @param \Orm\Zed\Cms\Persistence\SpyCmsPage $pageEntity
368 368
      *
369 369
      * @return void
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
     }
382 382
 
383 383
     /**
384
-     * @param \Generated\Shared\Transfer\CmsPageLocalizedAttributesTransfer[]|\ArrayObject $cmsPageLocalizedAttributesTransfers
384
+     * @param ArrayObject $cmsPageLocalizedAttributesTransfers
385 385
      * @param \Orm\Zed\Cms\Persistence\SpyCmsPage $pageEntity
386 386
      *
387 387
      * @return void
Please login to merge, or discard this patch.
CmsBlock/src/Spryker/Yves/CmsBlock/Twig/Plugin/TwigCmsBlockPlaceholder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function getFunctions(Application $application)
29 29
     {
30 30
         return [
31
-            new Twig_SimpleFunction('spyCmsBlockPlaceholder', function (array $context, $identifier) use ($application) {
31
+            new Twig_SimpleFunction('spyCmsBlockPlaceholder', function(array $context, $identifier) use ($application) {
32 32
                 $placeholders = $context['placeholders'];
33 33
 
34 34
                 $translation = '';
Please login to merge, or discard this patch.
Bundles/CmsBlock/src/Spryker/Zed/CmsBlock/Business/Model/CmsBlockWriter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      */
82 82
     public function activateById($idCmsBlock)
83 83
     {
84
-        $this->handleDatabaseTransaction(function () use ($idCmsBlock) {
84
+        $this->handleDatabaseTransaction(function() use ($idCmsBlock) {
85 85
             $this->updateIsActiveByIdTransaction($idCmsBlock, true);
86 86
             $this->touchFacade->touchActive(CmsBlockConfig::RESOURCE_TYPE_CMS_BLOCK, $idCmsBlock);
87 87
         });
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public function deactivateById($idCmsBlock)
96 96
     {
97
-        $this->handleDatabaseTransaction(function () use ($idCmsBlock) {
97
+        $this->handleDatabaseTransaction(function() use ($idCmsBlock) {
98 98
             $this->updateIsActiveByIdTransaction($idCmsBlock, false);
99 99
             $this->touchFacade->touchDeleted(CmsBlockConfig::RESOURCE_TYPE_CMS_BLOCK, $idCmsBlock);
100 100
         });
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
             );
127 127
         }
128 128
 
129
-        $this->handleDatabaseTransaction(function () use ($cmsBlockTransfer, $spyCmsBlock) {
129
+        $this->handleDatabaseTransaction(function() use ($cmsBlockTransfer, $spyCmsBlock) {
130 130
             $this->updateCmsBlockTransaction($cmsBlockTransfer, $spyCmsBlock);
131 131
             $this->updateCmsBlockPluginsTransaction($cmsBlockTransfer);
132 132
         });
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     {
144 144
         $cmsBlockTransfer->requireFkTemplate();
145 145
 
146
-        $this->handleDatabaseTransaction(function () use ($cmsBlockTransfer) {
146
+        $this->handleDatabaseTransaction(function() use ($cmsBlockTransfer) {
147 147
             $this->createCmsBlockTransaction($cmsBlockTransfer);
148 148
             $this->updateCmsBlockPluginsTransaction($cmsBlockTransfer);
149 149
         });
Please login to merge, or discard this patch.
Bundles/Twig/src/Spryker/Zed/Twig/TwigConfig.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @return array
27
+     * @return string[]
28 28
      */
29 29
     public function getTemplatePaths()
30 30
     {
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * @param array $paths
58 58
      *
59
-     * @return array
59
+     * @return string[]
60 60
      */
61 61
     protected function addCoreTemplatePaths(array $paths)
62 62
     {
Please login to merge, or discard this patch.
src/Spryker/Yves/ProductLabel/Twig/ProductLabelTwigExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return array
42
+     * @return Twig_SimpleFunction[]
43 43
      */
44 44
     public function getFunctions()
45 45
     {
Please login to merge, or discard this patch.
Bundles/CmsBlock/src/Spryker/Yves/CmsBlock/CmsBlockDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function provideDependencies(Container $container)
24 24
     {
25
-        $container[static::CMS_BLOCK_TWIG_CONTENT_RENDERER_PLUGIN] = function (Container $container) {
25
+        $container[static::CMS_BLOCK_TWIG_CONTENT_RENDERER_PLUGIN] = function(Container $container) {
26 26
             return $this->getCmsBlockTwigContentRendererPlugin();
27 27
         };
28 28
 
Please login to merge, or discard this patch.
Spryker/Yves/CmsContentWidget/Plugin/CmsContentWidgetServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function register(Application $app)
29 29
     {
30 30
         $app['twig'] = $app->share(
31
-            $app->extend('twig', function (Twig_Environment $twig) {
31
+            $app->extend('twig', function(Twig_Environment $twig) {
32 32
                 return $this->registerCmsContentWidgets($twig);
33 33
             })
34 34
         );
Please login to merge, or discard this patch.
src/Spryker/Yves/CmsContentWidget/CmsContentWidgetDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 block discarded – undo
25 25
      */
26 26
     public function provideDependencies(Container $container)
27 27
     {
28
-        $container[static::CMS_CONTENT_WIDGET_PLUGINS] = function (Container $container) {
28
+        $container[static::CMS_CONTENT_WIDGET_PLUGINS] = function(Container $container) {
29 29
             return $this->getCmsContentWidgetPlugins();
30 30
         };
31 31
 
32
-        $container[static::TWIG_ENVIRONMENT] = function (Container $container) {
32
+        $container[static::TWIG_ENVIRONMENT] = function(Container $container) {
33 33
             return $this->getTwigEnvironment();
34 34
         };
35 35
 
Please login to merge, or discard this patch.