Code Duplication    Length = 8-8 lines in 2 locations

src/Prophecy/Argument/Token/IdenticalValueToken.php 1 location

@@ 66-73 (lines=8) @@
63
     *
64
     * @return string
65
     */
66
    public function __toString()
67
    {
68
        if (null === $this->string) {
69
            $this->string = sprintf('identical(%s)', $this->util->stringify($this->value));
70
        }
71
72
        return $this->string;
73
    }
74
}
75

src/Prophecy/Argument/Token/ExactValueToken.php 1 location

@@ 110-117 (lines=8) @@
107
     *
108
     * @return string
109
     */
110
    public function __toString()
111
    {
112
        if (null === $this->string) {
113
            $this->string = sprintf('exact(%s)', $this->util->stringify($this->value));
114
        }
115
116
        return $this->string;
117
    }
118
}
119