Browse Source

Merge branch 'develop'

master
Guillaume 2 years ago
parent
commit
0d58184f77
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