Fix a few formatting infractions. refs #1604
Showing
2 changed files
with
11 additions
and
8 deletions
| ... | @@ -190,14 +190,16 @@ class UserSearch implements ArrayAccess, Iterator, Countable { | ... | @@ -190,14 +190,16 @@ class UserSearch implements ArrayAccess, Iterator, Countable { |
| 190 | $val = maybe_unserialize($val); | 190 | $val = maybe_unserialize($val); |
| 191 | } | 191 | } |
| 192 | 192 | ||
| 193 | return unserialize(sprintf( | 193 | return unserialize( |
| 194 | 'O:%5$d:"%4$s":3:{s:10:"_metacache";%3$ss:2:"id";s:%2$d:"%1$d";s:2:"ID";s:%2$d:"%1$d";}' | 194 | sprintf( |
| 195 | , $user_id | 195 | 'O:%5$d:"%4$s":3:{s:10:"_metacache";%3$ss:2:"id";s:%2$d:"%1$d";s:2:"ID";s:%2$d:"%1$d";}', |
| 196 | , strlen($user_id) | 196 | $user_id, |
| 197 | , serialize($data) | 197 | strlen($user_id), |
| 198 | , $this->userclass | 198 | serialize($data), |
| 199 | , strlen($this->userclass) | 199 | $this->userclass, |
| 200 | )); | 200 | strlen($this->userclass) |
| 201 | ) | ||
| 202 | ); | ||
| 201 | } | 203 | } |
| 202 | 204 | ||
| 203 | public function offsetSet($offset, $value) { | 205 | public function offsetSet($offset, $value) { | ... | ... |
-
Please register or sign in to post a comment