Completed
Push — master ( 840c2c...b2731e )
by Frederick
14s
created

ClientBuilder::Build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Vanbrabantf\NpmStatFetcher\Builders;
4
5
use GuzzleHttp\Client;
6
7
class ClientBuilder
8
{
9
    /**
10
     * @return Client
11
     */
12
    public static function Build()
13
    {
14
        return new Client([
15
            'base_uri' => 'https://api.npmjs.org/',
16
        ]);
17
    }
18
}
19