@@ -528,7 +528,7 @@ public function getDocument(string $rid_id, string $rid_col, string $rid_doc): s
528
528
* @return string JSON response
529
529
* @throws GuzzleException
530
530
*/
531
- public function createDocument (string $ rid_id , string $ rid_col , string $ json , string $ partitionKey = null , array $ headers = []): string
531
+ public function createDocument (string $ rid_id , string $ rid_col , string $ json , ? string $ partitionKey = null , array $ headers = []): string
532
532
{
533
533
$ authHeaders = $ this ->getAuthHeaders ('POST ' , 'docs ' , $ rid_col );
534
534
$ headers = \array_merge ($ headers , $ authHeaders );
@@ -554,7 +554,7 @@ public function createDocument(string $rid_id, string $rid_col, string $json, st
554
554
* @return string JSON response
555
555
* @throws GuzzleException
556
556
*/
557
- public function replaceDocument (string $ rid_id , string $ rid_col , string $ rid_doc , string $ json , string $ partitionKey = null , array $ headers = []): string
557
+ public function replaceDocument (string $ rid_id , string $ rid_col , string $ rid_doc , string $ json , ? string $ partitionKey = null , array $ headers = []): string
558
558
{
559
559
$ authHeaders = $ this ->getAuthHeaders ('PUT ' , 'docs ' , $ rid_doc );
560
560
$ headers = \array_merge ($ headers , $ authHeaders );
@@ -580,7 +580,7 @@ public function replaceDocument(string $rid_id, string $rid_col, string $rid_doc
580
580
* @return string JSON response
581
581
* @throws GuzzleException
582
582
*/
583
- public function patchDocument (string $ rid_id , string $ rid_col , string $ rid_doc , string $ json , string $ partitionKey = null , array $ headers = []): string
583
+ public function patchDocument (string $ rid_id , string $ rid_col , string $ rid_doc , string $ json , ? string $ partitionKey = null , array $ headers = []): string
584
584
{
585
585
$ authHeaders = $ this ->getAuthHeaders ('PATCH ' , 'docs ' , $ rid_doc );
586
586
$ headers = \array_merge ($ headers , $ authHeaders );
@@ -606,7 +606,7 @@ public function patchDocument(string $rid_id, string $rid_col, string $rid_doc,
606
606
* @return string JSON response
607
607
* @throws GuzzleException
608
608
*/
609
- public function deleteDocument (string $ rid_id , string $ rid_col , string $ rid_doc , string $ partitionKey = null , array $ headers = []): string
609
+ public function deleteDocument (string $ rid_id , string $ rid_col , string $ rid_doc , ? string $ partitionKey = null , array $ headers = []): string
610
610
{
611
611
$ authHeaders = $ this ->getAuthHeaders ('DELETE ' , 'docs ' , $ rid_doc );
612
612
$ headers = \array_merge ($ headers , $ authHeaders );
0 commit comments