Skip to content

DocumentHandler -> update pass $document twice to updateById #253

Open
@elaineli

Description

@elaineli

public function update(Document $document, array $options = [])
{
$documentId = $this->getDocumentId($document);
return $this->updateById($document, $documentId, $document, $options);
}

It seems the first arg to call to updateById should be $collection, and the update function does not accept $collection. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions