Code Duplication    Length = 8-8 lines in 2 locations

src/svg/util/Transform.php 2 locations

@@ 108-115 (lines=8) @@
105
    /**
106
     * @inheritdoc
107
     */
108
    public function translate($x, $y = null)
109
    {
110
        $this->addTransformIfNeeded('translate');
111
112
        $this->setTransformData('translate', [$x, $y]);
113
114
        return $this->buildTransformString();
115
    }
116
117
    /**
118
     * @inheritdoc
@@ 120-127 (lines=8) @@
117
    /**
118
     * @inheritdoc
119
     */
120
    public function scale($x, $y = null)
121
    {
122
        $this->addTransformIfNeeded('scale');
123
124
        $this->setTransformData('scale', [$x, $y]);
125
126
        return $this->buildTransformString();
127
    }
128
129
    /**
130
     * @inheritdoc