Browse Source

Document lastes

packProduct
Fabien Normand 2 years ago
parent
commit
56edaa321b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Repository/File/DocumentStore.php

+ 1
- 1
Repository/File/DocumentStore.php View File

@@ -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…
Cancel
Save