@@ -46,13 +46,13 @@ public function get(): array
4646 * one, by passing an email address and a new password.
4747 *
4848 *
49- * @param string$email
50- * @param string$password
49+ * @param string $email
50+ * @param string $password
5151 * @throws AppwriteException
5252 * @return array
5353
5454 */
55- public function updateEmail (string $ email , string $ password ): array
55+ public function updateEmail (string $ email , string $ password ): array
5656 {
5757 $ path = str_replace ([], [], '/account/email ' );
5858
@@ -108,12 +108,12 @@ public function getLogs(array $queries = null): array
108108 *
109109 * Update currently logged in user account name.
110110 *
111- * @param string$name
111+ * @param string $name
112112 * @throws AppwriteException
113113 * @return array
114114
115115 */
116- public function updateName (string $ name ): array
116+ public function updateName (string $ name ): array
117117 {
118118 $ path = str_replace ([], [], '/account/name ' );
119119
@@ -138,13 +138,13 @@ public function updateName(string$name): array
138138 * to pass in the new password, and the old password. For users created with
139139 * OAuth, Team Invites and Magic URL, oldPassword is optional.
140140 *
141- * @param string$password
142- * @param string$oldPassword
141+ * @param string $password
142+ * @param string $oldPassword
143143 * @throws AppwriteException
144144 * @return array
145145
146146 */
147- public function updatePassword (string $ password , string $ oldPassword = null ): array
147+ public function updatePassword (string $ password , string $ oldPassword = null ): array
148148 {
149149 $ path = str_replace ([], [], '/account/password ' );
150150
@@ -175,13 +175,13 @@ public function updatePassword(string$password, string$oldPassword = null): arra
175175 * /account/verification/phone](/docs/client/account#accountCreatePhoneVerification)
176176 * endpoint to send a confirmation SMS.
177177 *
178- * @param string$phone
179- * @param string$password
178+ * @param string $phone
179+ * @param string $password
180180 * @throws AppwriteException
181181 * @return array
182182
183183 */
184- public function updatePhone (string $ phone , string $ password ): array
184+ public function updatePhone (string $ phone , string $ password ): array
185185 {
186186 $ path = str_replace ([], [], '/account/phone ' );
187187
@@ -268,13 +268,13 @@ public function updatePrefs(array $prefs): array
268268 * complete the process. The verification link sent to the user's email
269269 * address is valid for 1 hour.
270270 *
271- * @param string$email
272- * @param string$url
271+ * @param string $email
272+ * @param string $url
273273 * @throws AppwriteException
274274 * @return array
275275
276276 */
277- public function createRecovery (string $ email , string $ url ): array
277+ public function createRecovery (string $ email , string $ url ): array
278278 {
279279 $ path = str_replace ([], [], '/account/recovery ' );
280280
@@ -312,15 +312,15 @@ public function createRecovery(string$email, string$url): array
312312 * the only valid redirect URLs are the ones from domains you have set when
313313 * adding your platforms in the console interface.
314314 *
315- * @param string$userId
316- * @param string$secret
317- * @param string$password
318- * @param string$passwordAgain
315+ * @param string $userId
316+ * @param string $secret
317+ * @param string $password
318+ * @param string $passwordAgain
319319 * @throws AppwriteException
320320 * @return array
321321
322322 */
323- public function updateRecovery (string $ userId , string $ secret , string $ password , string $ passwordAgain ): array
323+ public function updateRecovery (string $ userId , string $ secret , string $ password , string $ passwordAgain ): array
324324 {
325325 $ path = str_replace ([], [], '/account/recovery ' );
326326
@@ -407,12 +407,12 @@ public function deleteSessions(): string
407407 * Use this endpoint to get a logged in user's session using a Session ID.
408408 * Inputting 'current' will return the current session being used.
409409 *
410- * @param string$sessionId
410+ * @param string $sessionId
411411 * @throws AppwriteException
412412 * @return array
413413
414414 */
415- public function getSession (string $ sessionId ): array
415+ public function getSession (string $ sessionId ): array
416416 {
417417 $ path = str_replace (['{sessionId} ' ], [$ sessionId ], '/account/sessions/{sessionId} ' );
418418
@@ -433,12 +433,12 @@ public function getSession(string$sessionId): array
433433 * If session was created using an OAuth provider, this route can be used to
434434 * "refresh" the access token.
435435 *
436- * @param string$sessionId
436+ * @param string $sessionId
437437 * @throws AppwriteException
438438 * @return array
439439
440440 */
441- public function updateSession (string $ sessionId ): array
441+ public function updateSession (string $ sessionId ): array
442442 {
443443 $ path = str_replace (['{sessionId} ' ], [$ sessionId ], '/account/sessions/{sessionId} ' );
444444
@@ -460,12 +460,12 @@ public function updateSession(string$sessionId): array
460460 * Session ID argument, only the unique session ID provided is deleted.
461461 *
462462 *
463- * @param string$sessionId
463+ * @param string $sessionId
464464 * @throws AppwriteException
465465 * @return string
466466
467467 */
468- public function deleteSession (string $ sessionId ): string
468+ public function deleteSession (string $ sessionId ): string
469469 {
470470 $ path = str_replace (['{sessionId} ' ], [$ sessionId ], '/account/sessions/{sessionId} ' );
471471
@@ -520,12 +520,12 @@ public function updateStatus(): array
520520 * adding your platforms in the console interface.
521521 *
522522 *
523- * @param string$url
523+ * @param string $url
524524 * @throws AppwriteException
525525 * @return array
526526
527527 */
528- public function createVerification (string $ url ): array
528+ public function createVerification (string $ url ): array
529529 {
530530 $ path = str_replace ([], [], '/account/verification ' );
531531
@@ -551,13 +551,13 @@ public function createVerification(string$url): array
551551 * to verify the user email ownership. If confirmed this route will return a
552552 * 200 status code.
553553 *
554- * @param string$userId
555- * @param string$secret
554+ * @param string $userId
555+ * @param string $secret
556556 * @throws AppwriteException
557557 * @return array
558558
559559 */
560- public function updateVerification (string $ userId , string $ secret ): array
560+ public function updateVerification (string $ userId , string $ secret ): array
561561 {
562562 $ path = str_replace ([], [], '/account/verification ' );
563563
@@ -615,13 +615,13 @@ public function createPhoneVerification(): array
615615 * verify the user email ownership. If confirmed this route will return a 200
616616 * status code.
617617 *
618- * @param string$userId
619- * @param string$secret
618+ * @param string $userId
619+ * @param string $secret
620620 * @throws AppwriteException
621621 * @return array
622622
623623 */
624- public function updatePhoneVerification (string $ userId , string $ secret ): array
624+ public function updatePhoneVerification (string $ userId , string $ secret ): array
625625 {
626626 $ path = str_replace ([], [], '/account/verification/phone ' );
627627
0 commit comments