File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
EventSubscriber/UserSystem
Services/InfoProviderSystem/Providers Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function setTimeZone(ControllerEvent $event): void
4949 }
5050
5151 //Fill with default value if needed
52- if (null === $ timezone && $ this ->localizationSettings !== '' ) {
52+ if (null === $ timezone && $ this ->localizationSettings -> timezone !== '' ) {
5353 $ timezone = $ this ->localizationSettings ->timezone ;
5454 }
5555
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public function getProviderKey(): string
7777
7878 public function isActive (): bool
7979 {
80- return $ this ->settings ->storeId !== null && $ this -> settings -> apiKey !== '' ;
80+ return trim ( $ this ->settings ->apiKey ) !== '' ;
8181 }
8282
8383 /**
@@ -131,11 +131,6 @@ private function queryByTerm(string $term): array
131131 return $ result ;
132132 }
133133
134- private function generateProductURL ($ sku ): string
135- {
136- return 'https:// ' . $ this ->store_id . '/ ' . $ sku ;
137- }
138-
139134 /**
140135 * @param array|null $datasheets
141136 * @return FileDTO[]|null Array of FileDTOs
You can’t perform that action at this time.
0 commit comments