Code Duplication    Length = 9-9 lines in 2 locations

src/Timer/Stopwatch.php 2 locations

@@ 55-63 (lines=9) @@
52
    /**
53
     * {@inheritdoc}
54
     */
55
    public function start()
56
    {
57
        $t = \microtime(true);
58
        if (!$this->start) {
59
            $this->start = $t;
60
        }
61
62
        return $this->dateTime($this->start);
63
    }
64
65
    /**
66
     * {@inheritdoc}
@@ 68-76 (lines=9) @@
65
    /**
66
     * {@inheritdoc}
67
     */
68
    public function stop()
69
    {
70
        $t = \microtime(true);
71
        if (!$this->end) {
72
            $this->end = $t;
73
        }
74
75
        return $this->dateTime($this->end);
76
    }
77
78
    /**
79
     * {@inheritdoc}