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

return $query->findOne(); return $query->findOne();
} }


public function getOneLatestByType(string $documentType, $query = null): DocumentInterface
public function getOneLatestByType(string $documentType, $query = null): ?DocumentInterface
{ {
$query = $this->createDefaultQuery($query); $query = $this->createDefaultQuery($query);



Loading…
Cancel
Save