Browse Source

Ajustement userMerchantStore

packProduct
Guillaume 3 years ago
parent
commit
20c7ce73e7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Repository/User/UserMerchantStore.php

+ 1
- 1
Repository/User/UserMerchantStore.php View File

@@ -41,7 +41,7 @@ class UserMerchantStore extends AbstractStore
}

// getUserMerchant
public function getOneByUser(UserInterface $user, $query = null): UserMerchantInterface
public function getOneByUser(UserInterface $user, $query = null): ?UserMerchantInterface
{
$query = $this->createDefaultQuery($query);
$query->filterByUser($user);

Loading…
Cancel
Save