Change-Id: I4d3df0cfcda4d88e405164123893e57786fbe15e
}
private function getStartEndConds( IDatabase $db, array $options ) {
}
private function getStartEndConds( IDatabase $db, array $options ) {
- if ( !isset( $options['start'] ) && ! isset( $options['end'] ) ) {
+ if ( !isset( $options['start'] ) && !isset( $options['end'] ) ) {
}
while ( $i < $len && !$changed[$i] ) {
}
while ( $i < $len && !$changed[$i] ) {
- assert( $j < $other_len && ! $other_changed[$j] );
+ assert( $j < $other_len && !$other_changed[$j] );
$i++;
$j++;
while ( $j < $other_len && $other_changed[$j] ) {
$i++;
$j++;
while ( $j < $other_len && $other_changed[$j] ) {
- assert( $j < $other_len && ! $other_changed[$j] );
+ assert( $j < $other_len && !$other_changed[$j] );
$j++;
if ( $j < $other_len && $other_changed[$j] ) {
$corresponding = $i;
$j++;
if ( $j < $other_len && $other_changed[$j] ) {
$corresponding = $i;
case 'framed':
case 'thumbnail':
// use first appearing option, discard others.
case 'framed':
case 'thumbnail':
// use first appearing option, discard others.
- $validated = ! $seenformat;
+ $validated = !$seenformat;
$seenformat = true;
break;
default:
$seenformat = true;
break;
default:
$dbw->insert(
'interwiki',
[
$dbw->insert(
'interwiki',
[