public static function getExtensionTypeName( $type ) {
$types = self::getExtensionTypes();
- return isset( $types[$type] ) ? $types[$type] : $types['other'];
+ return $types[$type] ?? $types['other'];
}
/**
$description = $out->parseInline( $description );
// ... now get the authors for this extension
- $authors = isset( $extension['author'] ) ? $extension['author'] : [];
+ $authors = $extension['author'] ?? [];
$authors = $this->listAuthors( $authors, $extension['name'], $extensionPath );
// Finally! Create the table