Browse Source

Merge branch 'develop'

master
Fabien Normand 2 years ago
parent
commit
6fe1d88b3c
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