Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 2
CRAP
0.00% covered (danger)
0.00%
0 / 1
PackedHoverMode
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 2
6
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 useTraditionalGalleryText
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2declare( strict_types = 1 );
3
4namespace Wikimedia\Parsoid\Ext\Gallery;
5
6class PackedHoverMode extends PackedMode {
7    /**
8     * Create a PackedHoverMode singleton.
9     * @param ?string $mode Only used by subclasses.
10     */
11    protected function __construct( ?string $mode = null ) {
12        parent::__construct( $mode ?? 'packed-hover' );
13    }
14
15    /** @inheritDoc */
16    protected function useTraditionalGalleryText(): bool {
17        return false;
18    }
19}