Skip to content

Commit 0a66d48

Browse files
committed
remove absint
1 parent 2f3a175 commit 0a66d48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/migration/LogMigrator_Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function test_migrate_from_wpComment_to_db() {
2727
for ( $i = 0; $i < 3; $i++ ) {
2828
for ( $j = 0; $j < 5; $j++ ) {
2929
$logs[ $i ][ $j ] = md5( wp_rand() );
30-
if ( 1 === absint( $i ) ) {
30+
if ( 1 === $i ) {
3131
$source->log( $source_action_id, $logs[ $i ][ $j ] );
3232
}
3333
}

0 commit comments

Comments
 (0)