Passed
Pull Request — master (#33)
by
unknown
06:20
created

NullStopwatch::start()   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 2
1
<?php
2
3
namespace MovingImage\Client\VMPro\Stopwatch;
4
5
use MovingImage\Client\VMPro\Interfaces\StopwatchInterface;
6
7
/**
8
 * A no-op implementation of the StopwatchInterface.
9
 */
10
class NullStopwatch implements StopwatchInterface
11
{
12
    /**
13
     * {@inheritdoc}
14
     */
15
    public function start($name, $category = null)
16
    {
17
    }
18
19
    /**
20
     * {@inheritdoc}
21
     */
22
    public function stop($name)
23
    {
24
    }
25
}
26