Passed
Pull Request — master (#89)
by thomas
02:25
created

MainnetSettings   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace BitWasp\Bitcoin\Networking\Settings;
6
7
use BitWasp\Bitcoin\Networking\DnsSeeds\MainNetDnsSeeds;
8
9
class MainnetSettings extends NetworkSettings
10
{
11
    protected $defaultP2PPort = 8333;
12
13
    public function __construct()
14
    {
15
        $this->dnsSeeds = new MainNetDnsSeeds();
16
    }
17
}
18