lib/Service/PlatformService.php 1 location
|
@@ 217-220 (lines=4) @@
|
| 214 |
|
*/ |
| 215 |
|
private function loadPlatformsFromApp(string $appId) { |
| 216 |
|
$appInfo = $this->appManager->getAppInfo($appId); |
| 217 |
|
if (!is_array($appInfo) || !key_exists('fulltextsearch', $appInfo) |
| 218 |
|
|| !key_exists('platform', $appInfo['fulltextsearch'])) { |
| 219 |
|
return; |
| 220 |
|
} |
| 221 |
|
|
| 222 |
|
$platforms = $appInfo['fulltextsearch']['platform']; |
| 223 |
|
if (!is_array($platforms)) { |
lib/Service/ProviderService.php 1 location
|
@@ 268-271 (lines=4) @@
|
| 265 |
|
*/ |
| 266 |
|
private function loadProvidersFromApp(string $appId) { |
| 267 |
|
$appInfo = $this->appManager->getAppInfo($appId); |
| 268 |
|
if (!is_array($appInfo) || !key_exists('fulltextsearch', $appInfo) |
| 269 |
|
|| !key_exists('provider', $appInfo['fulltextsearch'])) { |
| 270 |
|
return; |
| 271 |
|
} |
| 272 |
|
|
| 273 |
|
$providers = $appInfo['fulltextsearch']['provider']; |
| 274 |
|
if (!is_array($providers)) { |