resourceloader: Remove support for Module::getModifiedTime() and getModifiedHash()
[lhc/web/wiklou.git] / includes / resourceloader / ResourceLoaderFileModule.php
index 7f8c7f5..e572aa4 100644 (file)
@@ -641,7 +641,7 @@ class ResourceLoaderFileModule extends ResourceLoaderModule {
                                $collatedFiles[$default][] = $value;
                        } elseif ( is_array( $value ) ) {
                                // File name as the key, options array as the value
-                               $optionValue = isset( $value[$option] ) ? $value[$option] : $default;
+                               $optionValue = $value[$option] ?? $default;
                                if ( !isset( $collatedFiles[$optionValue] ) ) {
                                        $collatedFiles[$optionValue] = [];
                                }