Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 3
NoLinesMode
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
6
0.00% covered (danger)
0.00%
0 / 3
 __construct
0.00% covered (danger)
0.00%
0 / 1
6
0.00% covered (danger)
0.00%
0 / 3
<?php
declare( strict_types = 1 );
namespace Wikimedia\Parsoid\Ext\Gallery;
use Wikimedia\Parsoid\Ext\PHPUtils;
class NoLinesMode extends TraditionalMode {
    /**
     * Create a NoLinesMode singleton.
     * @param ?string $mode Only used by subclasses.
     */
    protected function __construct( ?string $mode = null ) {
        parent::__construct( $mode ?? 'nolines' );
        $this->padding = PHPUtils::arrayToObject( [ 'thumb' => 0, 'box' => 5, 'border' => 4 ] );
    }
}