SetByNull   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 11
ccs 1
cts 1
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A set() 0 2 1
1
<?php
2
/*
3
 * Copyright (c) Nate Brunette.
4
 * Distributed under the MIT License (http://opensource.org/licenses/MIT)
5
 */
6
7
declare(strict_types=1);
8
9
namespace Tebru\Gson\Internal\AccessorStrategy;
10
11
use Tebru\Gson\Internal\SetterStrategy;
12
13
/**
14
 * Class SetByNull
15
 *
16
 * @author Nate Brunette <[email protected]>
17
 */
18
final class SetByNull implements SetterStrategy
19
{
20
    /**
21
     * Set value to object
22
     *
23
     * @param object $object
24
     * @param mixed $value
25
     * @return void
26
     */
27 1
    public function set($object, $value): void
28
    {
29
        // noop
30 1
    }
31
}
32