Passed
Push — master ( 7571eb...dad40c )
by Gabriel
35:09 queued 20:08
created

Jar::newCookie()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 2
1
<?php
2
3
namespace Nip\Cookie;
4
5
use Bytic\Cookie\CookieJar;
6
7
use function Bytic\Cookie\cookieJar;
8
9
class Jar extends \Bytic\Cookie\CookieJar
10
{
11
12
13
    /**
14
     * Singleton.
15
     *
16
     * @return CookieJar
17
     */
18
    public static function instance()
19
    {
20
        return cookieJar();
21
    }
22
}
23