@@ -155,14 +155,14 @@ |
||
| 155 | 155 | return (bool)(($ca>$cb)?array_diff_assoc(array_values($a), array_values($b)):array_diff_assoc(array_values($b), array_values($a))); |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | - private static function filter(&$a,&$b,$filter,$insensitive=true){ |
|
| 159 | - if ($insensitive) { |
|
| 158 | + private static function filter(&$a,&$b,$filter,$insensitive=true){ |
|
| 159 | + if ($insensitive) { |
|
| 160 | 160 | $a = array_filter(self::getParts(self::strtolower($a)), $filter); |
| 161 | 161 | $b = array_filter(self::getParts(self::strtolower($b)), $filter); |
| 162 | 162 | } else { |
| 163 | 163 | $a = array_filter(self::getParts(self::split($a)), $filter); |
| 164 | 164 | $b = array_filter(self::getParts(self::split($b)), $filter); |
| 165 | 165 | } |
| 166 | - } |
|
| 166 | + } |
|
| 167 | 167 | } |
| 168 | 168 | } |