refactor: cosmetic changes (#6123)
This commit is contained in:
@@ -92,7 +92,10 @@ trait SyncDAVBackend
|
||||
public function getLastModified($collectionId)
|
||||
{
|
||||
return $this->getObjects($collectionId)
|
||||
->max('updated_at');
|
||||
->map(function ($object) {
|
||||
return $object->updated_at;
|
||||
})
|
||||
->max();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user