Code Duplication    Length = 7-11 lines in 3 locations

src/Builders/Overrides/AssociationOverride.php 1 location

@@ 50-60 (lines=11) @@
47
     * @param string               $name
48
     * @param callable             $callback
49
     */
50
    public function __construct(
51
        ClassMetadataBuilder $builder,
52
        NamingStrategy $namingStrategy,
53
        $name,
54
        callable $callback
55
    ) {
56
        $this->builder        = $builder;
57
        $this->callback       = $callback;
58
        $this->name           = $name;
59
        $this->namingStrategy = $namingStrategy;
60
    }
61
62
    /**
63
     * Execute the build process

src/Builders/Overrides/AttributeOverride.php 1 location

@@ 40-50 (lines=11) @@
37
     * @param string               $name
38
     * @param callable             $callback
39
     */
40
    public function __construct(
41
        ClassMetadataBuilder $builder,
42
        NamingStrategy $namingStrategy,
43
        $name,
44
        callable $callback
45
    ) {
46
        $this->builder        = $builder;
47
        $this->callback       = $callback;
48
        $this->name           = $name;
49
        $this->namingStrategy = $namingStrategy;
50
    }
51
52
    /**
53
     * Execute the build process

src/Builders/Overrides/Override.php 1 location

@@ 38-44 (lines=7) @@
35
     * @param string               $name
36
     * @param callable             $callback
37
     */
38
    public function __construct(ClassMetadataBuilder $builder, NamingStrategy $namingStrategy, $name, callable $callback)
39
    {
40
        $this->builder        = $builder;
41
        $this->callback       = $callback;
42
        $this->name           = $name;
43
        $this->namingStrategy = $namingStrategy;
44
    }
45
46
    /**
47
     * Execute the build process