@@ -45,14 +45,14 @@ discard block |
||
45 | 45 | protected function buildCategoryFilters() |
46 | 46 | { |
47 | 47 | return [ |
48 | - [ |
|
49 | - 'id' => 'product_category_name', |
|
50 | - 'field' => SpyCategoryAttributeTableMap::COL_NAME, |
|
51 | - 'label' => 'category', |
|
52 | - 'type' => 'string', |
|
53 | - 'input' => 'text', |
|
54 | - 'operators' => $this->getTextOperators(), |
|
55 | - ], |
|
48 | + [ |
|
49 | + 'id' => 'product_category_name', |
|
50 | + 'field' => SpyCategoryAttributeTableMap::COL_NAME, |
|
51 | + 'label' => 'category', |
|
52 | + 'type' => 'string', |
|
53 | + 'input' => 'text', |
|
54 | + 'operators' => $this->getTextOperators(), |
|
55 | + ], |
|
56 | 56 | ]; |
57 | 57 | } |
58 | 58 | |
@@ -115,15 +115,15 @@ discard block |
||
115 | 115 | |
116 | 116 | $filters = []; |
117 | 117 | foreach ($productAttributeKeys as $productAttributeKeyEntity) { |
118 | - $filters[] = [ |
|
119 | - 'id' => $this->buildAttributeKey($productAttributeKeyEntity->getKey()), |
|
120 | - 'field' => SpyProductAbstractTableMap::COL_ATTRIBUTES, |
|
121 | - 'label' => $productAttributeKeyEntity->getKey(), |
|
122 | - 'type' => 'string', |
|
123 | - 'input' => 'text', |
|
124 | - 'optgroup' => 'attributes', |
|
125 | - 'operators' => $this->getTextOperators(), |
|
126 | - ]; |
|
118 | + $filters[] = [ |
|
119 | + 'id' => $this->buildAttributeKey($productAttributeKeyEntity->getKey()), |
|
120 | + 'field' => SpyProductAbstractTableMap::COL_ATTRIBUTES, |
|
121 | + 'label' => $productAttributeKeyEntity->getKey(), |
|
122 | + 'type' => 'string', |
|
123 | + 'input' => 'text', |
|
124 | + 'optgroup' => 'attributes', |
|
125 | + 'operators' => $this->getTextOperators(), |
|
126 | + ]; |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | return $filters; |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | protected function addFileSystem(Container $container) |
40 | 40 | { |
41 | - $container[static::SYMFONY_FILE_SYSTEM] = function () { |
|
41 | + $container[static::SYMFONY_FILE_SYSTEM] = function() { |
|
42 | 42 | return new Filesystem(); |
43 | 43 | }; |
44 | 44 | |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | protected function addFinder(Container $container) |
54 | 54 | { |
55 | - $container[static::SYMFONY_FINDER] = function () { |
|
55 | + $container[static::SYMFONY_FINDER] = function() { |
|
56 | 56 | return new Finder(); |
57 | 57 | }; |
58 | 58 |
@@ -37,39 +37,39 @@ |
||
37 | 37 | */ |
38 | 38 | public function provideBusinessLayerDependencies(Container $container) |
39 | 39 | { |
40 | - $container[self::FACADE_LOCALE] = function (Container $container) { |
|
40 | + $container[self::FACADE_LOCALE] = function(Container $container) { |
|
41 | 41 | return new UrlToLocaleBridge($container->getLocator()->locale()->facade()); |
42 | 42 | }; |
43 | 43 | |
44 | - $container[self::FACADE_TOUCH] = function (Container $container) { |
|
44 | + $container[self::FACADE_TOUCH] = function(Container $container) { |
|
45 | 45 | return new UrlToTouchBridge($container->getLocator()->touch()->facade()); |
46 | 46 | }; |
47 | 47 | |
48 | - $container[self::PLUGIN_PROPEL_CONNECTION] = function () { |
|
48 | + $container[self::PLUGIN_PROPEL_CONNECTION] = function() { |
|
49 | 49 | return Propel::getConnection(); |
50 | 50 | }; |
51 | 51 | |
52 | - $container[self::PLUGINS_URL_BEFORE_CREATE] = function () { |
|
52 | + $container[self::PLUGINS_URL_BEFORE_CREATE] = function() { |
|
53 | 53 | return $this->getUrlBeforeCreatePlugins(); |
54 | 54 | }; |
55 | 55 | |
56 | - $container[self::PLUGINS_URL_AFTER_CREATE] = function () { |
|
56 | + $container[self::PLUGINS_URL_AFTER_CREATE] = function() { |
|
57 | 57 | return $this->getUrlAfterCreatePlugins(); |
58 | 58 | }; |
59 | 59 | |
60 | - $container[self::PLUGINS_URL_BEFORE_UPDATE] = function () { |
|
60 | + $container[self::PLUGINS_URL_BEFORE_UPDATE] = function() { |
|
61 | 61 | return $this->getUrlBeforeUpdatePlugins(); |
62 | 62 | }; |
63 | 63 | |
64 | - $container[self::PLUGINS_URL_AFTER_UPDATE] = function () { |
|
64 | + $container[self::PLUGINS_URL_AFTER_UPDATE] = function() { |
|
65 | 65 | return $this->getUrlAfterUpdatePlugins(); |
66 | 66 | }; |
67 | 67 | |
68 | - $container[self::PLUGINS_URL_BEFORE_DELETE] = function () { |
|
68 | + $container[self::PLUGINS_URL_BEFORE_DELETE] = function() { |
|
69 | 69 | return $this->getUrlBeforeDeletePlugins(); |
70 | 70 | }; |
71 | 71 | |
72 | - $container[self::PLUGINS_URL_AFTER_DELETE] = function () { |
|
72 | + $container[self::PLUGINS_URL_AFTER_DELETE] = function() { |
|
73 | 73 | return $this->getUrlAfterDeletePlugins(); |
74 | 74 | }; |
75 | 75 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | { |
48 | 48 | $this->assertNavigationForDelete($navigationTransfer); |
49 | 49 | |
50 | - $this->handleDatabaseTransaction(function () use ($navigationTransfer) { |
|
50 | + $this->handleDatabaseTransaction(function() use ($navigationTransfer) { |
|
51 | 51 | $this->executeDeleteNavigationTransaction($navigationTransfer); |
52 | 52 | }); |
53 | 53 | } |
@@ -46,7 +46,7 @@ |
||
46 | 46 | { |
47 | 47 | $this->assertNavigationForCreate($navigationTransfer); |
48 | 48 | |
49 | - return $this->handleDatabaseTransaction(function () use ($navigationTransfer) { |
|
49 | + return $this->handleDatabaseTransaction(function() use ($navigationTransfer) { |
|
50 | 50 | return $this->executeCreateNavigationTransaction($navigationTransfer); |
51 | 51 | }); |
52 | 52 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | { |
48 | 48 | $this->assertNavigationForUpdate($navigationTransfer); |
49 | 49 | |
50 | - return $this->handleDatabaseTransaction(function () use ($navigationTransfer) { |
|
50 | + return $this->handleDatabaseTransaction(function() use ($navigationTransfer) { |
|
51 | 51 | return $this->executeUpdateNavigationTransaction($navigationTransfer); |
52 | 52 | }); |
53 | 53 | } |
@@ -49,7 +49,7 @@ |
||
49 | 49 | { |
50 | 50 | $this->assertNavigationTreeForUpdate($navigationTreeTransfer); |
51 | 51 | |
52 | - $this->handleDatabaseTransaction(function () use ($navigationTreeTransfer) { |
|
52 | + $this->handleDatabaseTransaction(function() use ($navigationTreeTransfer) { |
|
53 | 53 | $this->executeUpdateNavigationTreeHierarchyTransaction($navigationTreeTransfer); |
54 | 54 | }); |
55 | 55 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | { |
49 | 49 | $this->assertNavigationNodeForCreation($navigationNodeTransfer); |
50 | 50 | |
51 | - return $this->handleDatabaseTransaction(function () use ($navigationNodeTransfer) { |
|
51 | + return $this->handleDatabaseTransaction(function() use ($navigationNodeTransfer) { |
|
52 | 52 | return $this->executeCreateNavigationNodeTransaction($navigationNodeTransfer); |
53 | 53 | }); |
54 | 54 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | { |
48 | 48 | $this->assertNavigationNodeForDelete($navigationNodeTransfer); |
49 | 49 | |
50 | - $this->handleDatabaseTransaction(function () use ($navigationNodeTransfer) { |
|
50 | + $this->handleDatabaseTransaction(function() use ($navigationNodeTransfer) { |
|
51 | 51 | $this->executeDeleteNavigationNodeTransaction($navigationNodeTransfer); |
52 | 52 | }); |
53 | 53 | } |