@@ -56,7 +56,7 @@ public function __construct($data) {
5656 throw new InvalidArgumentException ("Cannot use data argument " );
5757 }
5858 }
59-
59+
6060 public static function getAllDocuments () {
6161 $ cache_key = "bnetdocs-documents " ;
6262 $ cache_val = Common::$ cache ->get ($ cache_key );
@@ -105,7 +105,7 @@ public static function getAllDocuments() {
105105 }
106106 return null ;
107107 }
108-
108+
109109 public function getContent ($ prepare ) {
110110 if (!$ prepare ) {
111111 return $ this ->content ;
@@ -170,7 +170,7 @@ public static function getDocumentsByUserId($user_id) {
170170 public function getEditedCount () {
171171 return $ this ->edited_count ;
172172 }
173-
173+
174174 public function getEditedDateTime () {
175175 if (is_null ($ this ->edited_datetime )) {
176176 return $ this ->edited_datetime ;
@@ -210,7 +210,7 @@ public function getUser() {
210210 public function getUserId () {
211211 return $ this ->user_id ;
212212 }
213-
213+
214214 protected static function normalize (StdClass &$ data ) {
215215 $ data ->content = (string ) $ data ->content ;
216216 $ data ->created_datetime = (string ) $ data ->created_datetime ;
@@ -222,7 +222,7 @@ protected static function normalize(StdClass &$data) {
222222 if (!is_null ($ data ->edited_datetime ))
223223 $ data ->edited_datetime = $ data ->edited_datetime ;
224224
225- if (!is_null ($ data ->user_id ))
225+ if (!is_null ($ data ->user_id ))
226226 $ data ->user_id = $ data ->user_id ;
227227
228228 return true ;
0 commit comments