Code Duplication    Length = 10-10 lines in 2 locations

src/Traits/Common.php 2 locations

@@ 49-58 (lines=10) @@
46
        return $this;
47
    }
48
49
    public function class(...$classes): self
50
    {
51
        foreach($classes as $class) {
52
            if(!$this->classes->contains($class)) {
53
                $this->classes->push($class);
54
            }
55
        }
56
57
        return $this;
58
    }
59
60
    public function classes(iterable $classes): self
61
    {
@@ 60-69 (lines=10) @@
57
        return $this;
58
    }
59
60
    public function classes(iterable $classes): self
61
    {
62
        foreach($classes as $class) {
63
            if(!$this->classes->contains($class)) {
64
                $this->classes->push($class);
65
            }
66
        }
67
68
        return $this;
69
    }
70
71
    public function style(string $key, string $value = null): self
72
    {