Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 25bd6f0

Browse files
authored
Fill class @method phpdoc to avoid lint warnings using FirestoreClient (#17)
1 parent d231e1b commit 25bd6f0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/FirestoreClient.php

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
use MrShan0\PHPFirestore\Handlers\RequestErrorHandler;
1010
use MrShan0\PHPFirestore\Helpers\FirestoreHelper;
1111

12+
/**
13+
* @method array listDocuments($collection, array $parameters = [], array $options = [])
14+
* @method FirestoreDocument getDocument($documentPath, array $parameters = [], array $options = [])
15+
* @method array getBatchDocuments(array $documentsId, array $parameters = [], array $options = [])
16+
* @method FirestoreDocument addDocument($collection, $payload, $documentId = null, array $parameters = [], array $options = [])
17+
* @method FirestoreDocument updateDocument($documentPath, $payload, $documentExists = null, array $parameters = [], array $options = [])
18+
* @method FirestoreDocument setDocument($documentPath, $payload, $documentExists = null, array $parameters = [], array $options = [])
19+
* @method boolean deleteDocument($document, array $options = [])
20+
*/
1221
class FirestoreClient
1322
{
1423
/**

0 commit comments

Comments
 (0)