Skip to content

Commit 1964a4b

Browse files
author
Benjamin Wilson Friedman
authored
Fix encode/decode method descriptors
1 parent af0c6c0 commit 1964a4b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Parse/ParseObject.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -952,8 +952,7 @@ public function _encode()
952952
}
953953

954954
/**
955-
* Returns a JSON encoded value of a ParseObject,
956-
* defers to encodeObject internally
955+
* Returns a JSON encoded array of a ParseObject
957956
*
958957
* @return string
959958
*/
@@ -996,7 +995,7 @@ public function encode()
996995
}
997996

998997
/**
999-
* Decodes and returns an encoded ParseObject
998+
* Decodes and returns a ParseObject from an encoded object
1000999
*
10011000
* @param string|array $encoded Encoded ParseObject to decode
10021001
* @return ParseObject

0 commit comments

Comments
 (0)