Completed
Pull Request — master (#20)
by Anatoliy
29:38 queued 19:40
created

NullTypeMock::getSample()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
/**
4
 * Created by PhpStorm.
5
 * User: danchukas
6
 * Date: 2017-07-18 08:46
7
 */
8
9
namespace DanchukAS\Mock\Type;
10
11
use DanchukAS\Mock\TypeMock;
12
13
/**
14
 * Class NullTypeMock
15
 * @package DanchukAS\Mock\Type
16
 */
17
class NullTypeMock extends TypeMock
18
{
19
    /**
20
     * @return null
21
     */
22
    public static function getSample()
23
    {
24
        yield ["the only one" => null];
25
    }
26
}