瀏覽代碼

Ajustement userMerchantStore

packProduct
Guillaume 3 年之前
父節點
當前提交
20c7ce73e7
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      Repository/User/UserMerchantStore.php

+ 1
- 1
Repository/User/UserMerchantStore.php 查看文件

@@ -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…
取消
儲存