includes/collation/CollationFactory.php
Method makeCollation
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function makeCollation( string $collationName ): Collation {
if ( isset( self::CORE_COLLATIONS[$collationName] ) ) {
return $this->instantiateCollation( self::CORE_COLLATIONS[$collationName] );
}