diff --git a/src/App/Service/KoinService.php b/src/App/Service/KoinService.php index b432bd4..d0e06a6 100644 --- a/src/App/Service/KoinService.php +++ b/src/App/Service/KoinService.php @@ -113,6 +113,10 @@ class KoinService return 'Étel'; } + if (false !== strpos($posInfo, "CAFE PARK ÉTTEREM")) { + return 'Étel'; + } + if (false !== strpos($posInfo, "STOCZEK ETTEREM")) { return 'Étel'; } @@ -177,6 +181,14 @@ class KoinService return 'Autó'; } + if (false !== strpos($posInfo, "OMV")) { + return 'Autó'; + } + + if (false !== strpos($posInfo, "MOBIL PETROL")) { + return 'Autó'; + } + if (false !== strpos($posInfo, "AMAZON SERVICES-KINDLE")) { return 'Szórakozás'; } @@ -201,6 +213,9 @@ class KoinService } elseif (false !== strpos($posInfo, "SCIENCE PARK ÉTTEREM")) { $tags[] = 'Science Park'; $tags[] = 'Menza'; + } elseif (false !== strpos($posInfo, "CAFE PARK ÉTTEREM")) { + $tags[] = 'Cafe Park'; + $tags[] = 'Menza'; } elseif (false !== strpos($posInfo, "STOCZEK ETTEREM")) { $tags[] = "Stoczek"; $tags[] = "Menza"; @@ -243,6 +258,12 @@ class KoinService $tags[] = 'Decathlon'; } elseif (false !== strpos($posInfo, "MOL TÖLTÖàLL")) { $tags[] = 'MOL'; + $tags[] = 'Benzinkút'; + } elseif (false !== strpos($posInfo, "OMV")) { + $tags[] = 'OMV'; + $tags[] = 'Benzinkút'; + } elseif (false !== strpos($posInfo, "MOBIL PETROL")) { + $tags[] = 'Benzinkút'; } elseif (false !== strpos($posInfo, "AMAZON SERVICES-KINDLE")) { $tags[] = 'Kindle'; $tags[] = 'Amazon'; diff --git a/src/App/Service/SZEPManagerService.php b/src/App/Service/SZEPManagerService.php index 63aeba2..533bfe0 100644 --- a/src/App/Service/SZEPManagerService.php +++ b/src/App/Service/SZEPManagerService.php @@ -187,9 +187,6 @@ class SZEPManagerService } elseif (false !== strpos($SZEPCardEntry->getMerchant(), "Planet Sushi Alle")) { $tags[] = 'Planet Sushi'; $tags[] = 'Sushi'; - } elseif (false !== strpos($SZEPCardEntry->getMerchant(), "Stoczek utcai Étterem")) { - $tags[] = 'Stoczek'; - $tags[] = 'Street Food'; } elseif (false !== strpos($SZEPCardEntry->getMerchant(), "Stoczek")) { $tags[] = 'Stoczek'; } elseif (false !== strpos($SZEPCardEntry->getMerchant(), "Science Park")) { diff --git a/src/App/Service/SmsStoreService.php b/src/App/Service/SmsStoreService.php index 4e0e40d..223944f 100644 --- a/src/App/Service/SmsStoreService.php +++ b/src/App/Service/SmsStoreService.php @@ -43,10 +43,12 @@ class SmsStoreService return true; } - /** - * @param string $hashKey - * @return User - */ + /** + * @param string $hashKey + * @return User + * @throws \Doctrine\ORM\ORMException + * @throws \Doctrine\ORM\OptimisticLockException + */ private function ensureUserExists(string $hashKey): User { /** @var User $user */