lib/includes/TermIndexEntry.php
Method assertConstructFieldsAreCorrect
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function assertConstructFieldsAreCorrect( array $fields ) {
Assert::parameter(
count( $fields ) === count( self::FIELD_NAMES ) &&
!array_diff( self::FIELD_NAMES, array_keys( $fields ) ),
'$fields',