dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make use of the list() feature where it makes sense
[lhc/web/wiklou.git]
/
includes
/
cache
/
localisation
/
LCStoreStaticArray.php
diff --git
a/includes/cache/localisation/LCStoreStaticArray.php
b/includes/cache/localisation/LCStoreStaticArray.php
index
75c8465
..
f860146
100644
(file)
--- a/
includes/cache/localisation/LCStoreStaticArray.php
+++ b/
includes/cache/localisation/LCStoreStaticArray.php
@@
-101,8
+101,7
@@
class LCStoreStaticArray implements LCStore {
return $encoded;
}
- $type = $encoded[0];
- $data = $encoded[1];
+ list( $type, $data ) = $encoded;
switch ( $type ) {
case 'a':