Completed
Push — master ( d17f97...da521e )
by Richan
01:17
created

DesktopAudit::getDefaultChromeFlags()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Suitmedia\LighthouseAudit\Audit;
4
5
class DesktopAudit extends AbstractAudit
6
{
7
    /**
8
     * Get the default chrome flags.
9
     *
10
     * @return array
11
     */
12
    protected function getDefaultChromeFlags() :array
13
    {
14
        $flags = parent::getDefaultChromeFlags();
15
16
        return array_merge($flags, ['--window-size=1440,900']);
17
    }
18
}
19