Skip to content

Commit be680ac

Browse files
committed
improved doc comment of test helper
1 parent 3c3f459 commit be680ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/phpunit/tests/user.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,11 +2158,11 @@ public function test_send_confirmation_on_profile_email_html_entities_decoded()
21582158
}
21592159

21602160
/**
2161-
* Check array is a sequential.
2161+
* Determines whether an array has sequential numeric keys.
21622162
*
2163-
* @param array $arr array.
2163+
* @param array $arr The array to check.
21642164
*
2165-
* @return bool
2165+
* @return bool True if the array has sequential numeric keys, false otherwise.
21662166
*/
21672167
private function is_sequential( array $arr ) {
21682168
return array_keys( $arr ) === range( 0, count( $arr ) - 1 );

0 commit comments

Comments
 (0)