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