Passed
Push — master ( 7e7d16...d2790e )
by mark
56s
created
Braintree/src/Spryker/Yves/Braintree/BraintreeDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     protected function addCurrencyPlugin(Container $container)
37 37
     {
38
-        $container[static::PLUGIN_CURRENCY] = function (Container $container) {
38
+        $container[static::PLUGIN_CURRENCY] = function(Container $container) {
39 39
             return new CurrencyPlugin();
40 40
         };
41 41
 
Please login to merge, or discard this patch.
src/Spryker/Zed/StateMachine/Business/StateMachine/StateUpdater.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     }
148 148
 
149 149
     /**
150
-     * @param array $sourceStateBuffer
150
+     * @param string[] $sourceStateBuffer
151 151
      * @param \Generated\Shared\Transfer\StateMachineItemTransfer $stateMachineItemTransfer
152 152
      *
153 153
      * @throws \Spryker\Zed\StateMachine\Business\Exception\StateMachineException
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         }
74 74
 
75 75
         foreach ($stateMachineItems as $stateMachineItemTransfer) {
76
-            $this->handleDatabaseTransaction(function () use ($processes, $sourceStates, $stateMachineItemTransfer) {
76
+            $this->handleDatabaseTransaction(function() use ($processes, $sourceStates, $stateMachineItemTransfer) {
77 77
                 $this->executeUpdateItemStateTransaction($processes, $sourceStates, $stateMachineItemTransfer);
78 78
             });
79 79
         }
Please login to merge, or discard this patch.
Zed/ProductDiscountConnector/ProductDiscountConnectorDependencyProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,15 +28,15 @@
 block discarded – undo
28 28
      */
29 29
     public function provideBusinessLayerDependencies(Container $container)
30 30
     {
31
-        $container[self::FACADE_DISCOUNT] = function (Container $container) {
31
+        $container[self::FACADE_DISCOUNT] = function(Container $container) {
32 32
             return new ProductDiscountConnectorToDiscountBridge($container->getLocator()->discount()->facade());
33 33
         };
34 34
 
35
-        $container[self::FACADE_LOCALE] = function (Container $container) {
35
+        $container[self::FACADE_LOCALE] = function(Container $container) {
36 36
             return new ProductDiscountConnectorToLocaleBridge($container->getLocator()->locale()->facade());
37 37
         };
38 38
 
39
-        $container[self::FACADE_PRODUCT] = function (Container $container) {
39
+        $container[self::FACADE_PRODUCT] = function(Container $container) {
40 40
             return new ProductDiscountConnectorToProductBridge($container->getLocator()->product()->facade());
41 41
         };
42 42
 
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductManagement/Communication/Table/ProductTable.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     /**
55 55
      * @param \Spryker\Zed\Gui\Communication\Table\TableConfiguration $config
56 56
      *
57
-     * @return mixed
57
+     * @return TableConfiguration
58 58
      */
59 59
     protected function configure(TableConfiguration $config)
60 60
     {
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * @param \Orm\Zed\Product\Persistence\SpyProductAbstract $item
141 141
      *
142
-     * @return array
142
+     * @return string[]
143 143
      */
144 144
     protected function createActionColumn(SpyProductAbstract $item)
145 145
     {
Please login to merge, or discard this patch.
Zed/ProductManagement/Communication/Transfer/ProductFormTransferMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     }
132 132
 
133 133
     /**
134
-     * @param \Generated\Shared\Transfer\ProductAbstractTransfer $productAbstractTransfer
134
+     * @param ProductAbstractTransfer|null $productAbstractTransfer
135 135
      * @param \Symfony\Component\Form\FormInterface $form
136 136
      * @param int $idProduct
137 137
      *
Please login to merge, or discard this patch.
Communication/Plugin/ServiceProvider/TwigCurrencyServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     public function register(Application $app)
33 33
     {
34 34
         $app['twig'] = $app->share(
35
-            $app->extend('twig', function (\Twig_Environment $twig) {
35
+            $app->extend('twig', function(\Twig_Environment $twig) {
36 36
                 $twig->addFunction($this->getCurrencySymbolFunction());
37 37
 
38 38
                 return $twig;
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     protected function getCurrencySymbolFunction()
62 62
     {
63
-        return new Twig_SimpleFunction(static::CURRENCY_SYMBOL_FUNCTION_NAME, function ($isoCode = null) {
63
+        return new Twig_SimpleFunction(static::CURRENCY_SYMBOL_FUNCTION_NAME, function($isoCode = null) {
64 64
             return $this->getCurrencySymbol($isoCode);
65 65
         });
66 66
     }
Please login to merge, or discard this patch.
Bundles/Cms/src/Spryker/Zed/Cms/Communication/Controller/PageController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@
 block discarded – undo
269 269
      * Finds all glossary keys and creates missing translations as empty to be able to touch the page.
270 270
      *
271 271
      * @param int $idPage
272
-     * @param \Generated\Shared\Transfer\LocaleTransfer $localeTransfer
272
+     * @param LocaleTransfer|null $localeTransfer
273 273
      *
274 274
      * @return void
275 275
      */
Please login to merge, or discard this patch.
Bundles/Money/src/Spryker/Yves/Money/MoneyDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     protected function addStore(Container $container)
43 43
     {
44
-        $container[static::STORE] = function () {
44
+        $container[static::STORE] = function() {
45 45
             return $this->getStore();
46 46
         };
47 47
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     protected function addMoneyParser(Container $container)
65 65
     {
66
-        $container[static::MONEY_PARSER] = function () {
66
+        $container[static::MONEY_PARSER] = function() {
67 67
             $moneyToParserBridge = new MoneyToParserBridge($this->getIntlMoneyParser());
68 68
 
69 69
             return $moneyToParserBridge;
Please login to merge, or discard this patch.
Bundles/Money/src/Spryker/Client/Money/MoneyDependencyProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     protected function addStore(Container $container)
46 46
     {
47
-        $container[static::STORE] = function () {
47
+        $container[static::STORE] = function() {
48 48
             return $this->getStore();
49 49
         };
50 50
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     protected function addCurrencyPlugin(Container $container)
60 60
     {
61
-        $container[static::PLUGIN_CURRENCY] = function () {
61
+        $container[static::PLUGIN_CURRENCY] = function() {
62 62
             return new CurrencyPlugin();
63 63
         };
64 64
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     protected function addMoneyParser(Container $container)
82 82
     {
83
-        $container[static::MONEY_PARSER] = function () {
83
+        $container[static::MONEY_PARSER] = function() {
84 84
             $moneyToParserBridge = new MoneyToParserBridge($this->getIntlMoneyParser());
85 85
 
86 86
             return $moneyToParserBridge;
Please login to merge, or discard this patch.