fixie
This commit is contained in:
parent
300c8cafc9
commit
6bb49e8f79
6 changed files with 26 additions and 33 deletions
|
@ -63,10 +63,7 @@ final class FoodOrderRepository extends ServiceEntityRepository
|
|||
->getResult();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return FoodOrder|null
|
||||
*/
|
||||
public function findLatestOrder(): ?FoodOrder
|
||||
public function findLatestOrder(): FoodOrder|null
|
||||
{
|
||||
return $this->createQueryBuilder('alias')
|
||||
->orderBy('alias.id', 'DESC')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue