mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Use PSR-12 code style
This commit is contained in:
@@ -270,7 +270,7 @@ class AccountUpdateService
|
||||
if (!(null === $data['latitude'] && null === $data['longitude'] && null === $data['zoom_level'])) {
|
||||
$location = $this->accountRepository->getLocation($account);
|
||||
if (null === $location) {
|
||||
$location = new Location;
|
||||
$location = new Location();
|
||||
$location->locatable()->associate($account);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user