Kaynağa Gözat

Document lastes

packProduct
Fabien Normand 2 yıl önce
ebeveyn
işleme
56edaa321b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      Repository/File/DocumentStore.php

+ 1
- 1
Repository/File/DocumentStore.php Dosyayı Görüntüle

@@ -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);


Yükleniyor…
İptal
Kaydet