|
@@ 246-248 (lines=3) @@
|
| 243 |
|
private function compareLength(array $initialGroup, array $comparedGroup, int $type) |
| 244 |
|
{ |
| 245 |
|
// Compare character group length |
| 246 |
|
if ($initialGroup[1] > $comparedGroup[1]) { |
| 247 |
|
return ($type === self::G_FIXED ? 1 : -1); |
| 248 |
|
} |
| 249 |
|
|
| 250 |
|
if ($initialGroup[1] < $comparedGroup[1]) { |
| 251 |
|
return ($type === self::G_FIXED ? -1 : 1); |
|
@@ 250-252 (lines=3) @@
|
| 247 |
|
return ($type === self::G_FIXED ? 1 : -1); |
| 248 |
|
} |
| 249 |
|
|
| 250 |
|
if ($initialGroup[1] < $comparedGroup[1]) { |
| 251 |
|
return ($type === self::G_FIXED ? -1 : 1); |
| 252 |
|
} |
| 253 |
|
|
| 254 |
|
// Cannot define |
| 255 |
|
return 0; |