瀏覽代碼

Merge branch 'develop'

master
Fabien Normand 2 年之前
父節點
當前提交
6fe1d88b3c
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      Repository/File/DocumentStore.php

+ 1
- 1
Repository/File/DocumentStore.php 查看文件

@@ -60,7 +60,7 @@ class DocumentStore extends AbstractStore
return $query->findOne();
}

public function getOneLatestByType(string $documentType, $query = null): DocumentInterface
public function getOneLatestByType(string $documentType, $query = null): ?DocumentInterface
{
$query = $this->createDefaultQuery($query);


Loading…
取消
儲存