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

DesktopAudit   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDefaultChromeFlags() 0 6 1
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