@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | use _generated\ProductGroupBusinessTesterActions; |
22 | 22 | |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -39,7 +39,7 @@ |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * @return array |
|
42 | + * @return Twig_SimpleFunction[] |
|
43 | 43 | */ |
44 | 44 | public function getFunctions() |
45 | 45 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | $twigExtension = $this->getFactory()->createProductGroupTwigExtension(); |
28 | 28 | |
29 | 29 | $app['twig'] = $app->share( |
30 | - $app->extend('twig', function (\Twig_Environment $twig) use ($twigExtension) { |
|
30 | + $app->extend('twig', function(\Twig_Environment $twig) use ($twigExtension) { |
|
31 | 31 | $twig->addExtension($twigExtension); |
32 | 32 | |
33 | 33 | return $twig; |
@@ -54,7 +54,7 @@ discard block |
||
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 |
||
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 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | namespace SprykerTest\Zed\Customer\Communication\Controller; |
9 | 9 | |
10 | 10 | use Codeception\Util\Stub; |
11 | - |
|
12 | 11 | use Generated\Shared\DataBuilder\CustomerBuilder; |
13 | 12 | use Spryker\Zed\Customer\CustomerDependencyProvider; |
14 | 13 | use Spryker\Zed\Customer\Dependency\Facade\CustomerToMailInterface; |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | $productConcreteTransfer->getIdProductConcrete() |
45 | 45 | )); |
46 | 46 | |
47 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($productConcreteTransfer) { |
|
47 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($productConcreteTransfer) { |
|
48 | 48 | $this->cleanupProductConcrete($productConcreteTransfer->getIdProductConcrete()); |
49 | 49 | $this->cleanupProductAbstract($productConcreteTransfer->getFkProductAbstract()); |
50 | 50 | }); |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | $abstractProductId |
70 | 70 | )); |
71 | 71 | |
72 | - $this->getDataCleanupHelper()->_addCleanup(function () use ($productAbstractTransfer) { |
|
72 | + $this->getDataCleanupHelper()->_addCleanup(function() use ($productAbstractTransfer) { |
|
73 | 73 | $this->cleanupProductAbstract($productAbstractTransfer->getIdProductAbstract()); |
74 | 74 | }); |
75 | 75 |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | protected function addSalesFacade(Container $container) |
67 | 67 | { |
68 | - $container[static::FACADE_SALES] = function (Container $container) { |
|
68 | + $container[static::FACADE_SALES] = function(Container $container) { |
|
69 | 69 | return new RefundToSalesBridge($container->getLocator()->sales()->facade()); |
70 | 70 | }; |
71 | 71 | |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | */ |
81 | 81 | protected function addCalculationFacade(Container $container) |
82 | 82 | { |
83 | - $container[static::FACADE_CALCULATION] = function (Container $container) { |
|
83 | + $container[static::FACADE_CALCULATION] = function(Container $container) { |
|
84 | 84 | return new RefundToCalculationBridge($container->getLocator()->calculation()->facade()); |
85 | 85 | }; |
86 | 86 | |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | */ |
96 | 96 | protected function addItemRefundCalculatorPlugin(Container $container) |
97 | 97 | { |
98 | - $container[static::PLUGIN_ITEM_REFUND_CALCULATOR] = function () { |
|
98 | + $container[static::PLUGIN_ITEM_REFUND_CALCULATOR] = function() { |
|
99 | 99 | return new RefundableItemAmountCalculatorPlugin(); |
100 | 100 | }; |
101 | 101 | |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | */ |
110 | 110 | protected function addExpenseRefundCalculatorPlugin(Container $container) |
111 | 111 | { |
112 | - $container[static::PLUGIN_EXPENSE_REFUND_CALCULATOR] = function () { |
|
112 | + $container[static::PLUGIN_EXPENSE_REFUND_CALCULATOR] = function() { |
|
113 | 113 | return new RefundableExpenseAmountCalculatorPlugin(); |
114 | 114 | }; |
115 | 115 | |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | */ |
124 | 124 | protected function addSalesQueryContainer(Container $container) |
125 | 125 | { |
126 | - $container[static::QUERY_CONTAINER_SALES] = function (Container $container) { |
|
126 | + $container[static::QUERY_CONTAINER_SALES] = function(Container $container) { |
|
127 | 127 | return $container->getLocator()->sales()->queryContainer(); |
128 | 128 | }; |
129 | 129 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | */ |
138 | 138 | protected function addMoneyFacade(Container $container) |
139 | 139 | { |
140 | - $container[static::FACADE_MONEY] = function (Container $container) { |
|
140 | + $container[static::FACADE_MONEY] = function(Container $container) { |
|
141 | 141 | return new RefundToMoneyBridge($container->getLocator()->money()->facade()); |
142 | 142 | }; |
143 | 143 | |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | */ |
152 | 152 | protected function addDateFormatter(Container $container) |
153 | 153 | { |
154 | - $container[static::SERVICE_DATE_TIME] = function (Container $container) { |
|
154 | + $container[static::SERVICE_DATE_TIME] = function(Container $container) { |
|
155 | 155 | return $container->getLocator()->utilDateTime()->service(); |
156 | 156 | }; |
157 | 157 |
@@ -62,7 +62,7 @@ |
||
62 | 62 | */ |
63 | 63 | protected function setSessionStorageHandler(Application $application) |
64 | 64 | { |
65 | - $application['session.storage.handler'] = function () { |
|
65 | + $application['session.storage.handler'] = function() { |
|
66 | 66 | return $this->getFactory()->createSessionStorage()->getAndRegisterHandler(); |
67 | 67 | }; |
68 | 68 | } |
@@ -62,7 +62,7 @@ |
||
62 | 62 | */ |
63 | 63 | protected function setSessionStorageHandler(Application $application) |
64 | 64 | { |
65 | - $application['session.storage.handler'] = function () { |
|
65 | + $application['session.storage.handler'] = function() { |
|
66 | 66 | return $this->getFactory()->createSessionStorage()->getAndRegisterHandler(); |
67 | 67 | }; |
68 | 68 | } |