@@ -104,7 +104,7 @@ |
||
| 104 | 104 | */ |
| 105 | 105 | protected function setQueueAdaptersDependency(): void |
| 106 | 106 | { |
| 107 | - $this->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) { |
|
| 107 | + $this->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) { |
|
| 108 | 108 | return [ |
| 109 | 109 | $container->getLocator()->rabbitMq()->client()->createQueueAdapter(), |
| 110 | 110 | ]; |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | */ |
| 78 | 78 | protected function addEventBehaviorFacade(Container $container): Container |
| 79 | 79 | { |
| 80 | - $container->set(static::FACADE_EVENT_BEHAVIOR, function (Container $container) { |
|
| 80 | + $container->set(static::FACADE_EVENT_BEHAVIOR, function(Container $container) { |
|
| 81 | 81 | return new ServicePointSearchToEventBehaviorFacadeBridge( |
| 82 | 82 | $container->getLocator()->eventBehavior()->facade(), |
| 83 | 83 | ); |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | */ |
| 94 | 94 | protected function addServicePointFacade(Container $container): Container |
| 95 | 95 | { |
| 96 | - $container->set(static::FACADE_SERVICE_POINT, function (Container $container) { |
|
| 96 | + $container->set(static::FACADE_SERVICE_POINT, function(Container $container) { |
|
| 97 | 97 | return new ServicePointSearchToServicePointFacadeBridge( |
| 98 | 98 | $container->getLocator()->servicePoint()->facade(), |
| 99 | 99 | ); |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | */ |
| 110 | 110 | protected function addStoreFacade(Container $container): Container |
| 111 | 111 | { |
| 112 | - $container->set(static::FACADE_STORE, function (Container $container) { |
|
| 112 | + $container->set(static::FACADE_STORE, function(Container $container) { |
|
| 113 | 113 | return new ServicePointSearchToStoreFacadeBridge( |
| 114 | 114 | $container->getLocator()->store()->facade(), |
| 115 | 115 | ); |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | */ |
| 126 | 126 | protected function addUtilEncodingService(Container $container): Container |
| 127 | 127 | { |
| 128 | - $container->set(static::SERVICE_UTIL_ENCODING, function (Container $container) { |
|
| 128 | + $container->set(static::SERVICE_UTIL_ENCODING, function(Container $container) { |
|
| 129 | 129 | return new ServicePointSearchToUtilEncodingServiceBridge( |
| 130 | 130 | $container->getLocator()->utilEncoding()->service(), |
| 131 | 131 | ); |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | */ |
| 70 | 70 | protected function addSearchClient(Container $container): Container |
| 71 | 71 | { |
| 72 | - $container->set(static::CLIENT_SEARCH, function (Container $container) { |
|
| 72 | + $container->set(static::CLIENT_SEARCH, function(Container $container) { |
|
| 73 | 73 | return new ServicePointSearchToSearchClientBridge( |
| 74 | 74 | $container->getLocator()->search()->client(), |
| 75 | 75 | ); |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | */ |
| 86 | 86 | protected function addStoreClient(Container $container): Container |
| 87 | 87 | { |
| 88 | - $container->set(static::CLIENT_STORE, function (Container $container) { |
|
| 88 | + $container->set(static::CLIENT_STORE, function(Container $container) { |
|
| 89 | 89 | return new ServicePointSearchToStoreClientBridge( |
| 90 | 90 | $container->getLocator()->store()->client(), |
| 91 | 91 | ); |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | */ |
| 102 | 102 | protected function addServicePointSearchQueryPlugin(Container $container): Container |
| 103 | 103 | { |
| 104 | - $container->set(static::PLUGIN_SERVICE_POINT_SEARCH_QUERY, function () { |
|
| 104 | + $container->set(static::PLUGIN_SERVICE_POINT_SEARCH_QUERY, function() { |
|
| 105 | 105 | return $this->createServicePointSearchQueryPlugin(); |
| 106 | 106 | }); |
| 107 | 107 | |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | */ |
| 116 | 116 | protected function addServicePointSearchResultFormatterPlugins(Container $container): Container |
| 117 | 117 | { |
| 118 | - $container->set(static::PLUGINS_SERVICE_POINT_SEARCH_RESULT_FORMATTER, function () { |
|
| 118 | + $container->set(static::PLUGINS_SERVICE_POINT_SEARCH_RESULT_FORMATTER, function() { |
|
| 119 | 119 | return $this->getServicePointSearchResultFormatterPlugins(); |
| 120 | 120 | }); |
| 121 | 121 | |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | */ |
| 130 | 130 | protected function addServicePointSearchQueryExpanderPlugins(Container $container): Container |
| 131 | 131 | { |
| 132 | - $container->set(static::PLUGINS_SERVICE_POINT_SEARCH_QUERY_EXPANDER, function () { |
|
| 132 | + $container->set(static::PLUGINS_SERVICE_POINT_SEARCH_QUERY_EXPANDER, function() { |
|
| 133 | 133 | return $this->getServicePointSearchQueryExpanderPlugins(); |
| 134 | 134 | }); |
| 135 | 135 | |