$fileDescriptor = is_string( $options ) ? $options : $options['file'];
$allowedVariants = array_merge(
- is_array( $options ) && isset( $options['variants'] ) ? $options['variants'] : [],
+ ( is_array( $options ) && isset( $options['variants'] ) ) ? $options['variants'] : [],
$this->getGlobalVariants( $context )
);
if ( isset( $this->variants[$skin] ) ) {