Переглянути джерело

Document lastes

packProduct
Fabien Normand 2 роки тому
джерело
коміт
56edaa321b
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);


Завантаження…
Відмінити
Зберегти