Code Duplication    Length = 7-8 lines in 4 locations

Moss/Storage/Query/DeleteQuery.php 1 location

@@ 46-52 (lines=7) @@
43
     * @param AccessorInterface        $accessor
44
     * @param EventDispatcherInterface $dispatcher
45
     */
46
    public function __construct(Connection $connection, $entity, ModelInterface $model, RelationFactoryInterface $factory, AccessorInterface $accessor, EventDispatcherInterface $dispatcher)
47
    {
48
        parent::__construct($connection, $entity, $model, $factory, $accessor, $dispatcher);
49
50
        $this->setQuery();
51
        $this->setPrimaryKeyConditions();
52
    }
53
54
    /**
55
     * Sets query instance with delete operation and table

Moss/Storage/Query/InsertQuery.php 1 location

@@ 47-53 (lines=7) @@
44
     * @param AccessorInterface        $accessor
45
     * @param EventDispatcherInterface $dispatcher
46
     */
47
    public function __construct(Connection $connection, $entity, ModelInterface $model, RelationFactoryInterface $factory, AccessorInterface $accessor, EventDispatcherInterface $dispatcher)
48
    {
49
        parent::__construct($connection, $entity, $model, $factory, $accessor, $dispatcher);
50
51
        $this->setQuery();
52
        $this->values();
53
    }
54
55
    /**
56
     * Sets query instance with delete operation and table

Moss/Storage/Query/ReadQuery.php 1 location

@@ 54-60 (lines=7) @@
51
     * @param AccessorInterface        $accessor
52
     * @param EventDispatcherInterface $dispatcher
53
     */
54
    public function __construct(Connection $connection, ModelInterface $model, RelationFactoryInterface $factory, AccessorInterface $accessor, EventDispatcherInterface $dispatcher)
55
    {
56
        parent::__construct($connection, $model, $factory, $accessor, $dispatcher);
57
58
        $this->setQuery();
59
        $this->fields();
60
    }
61
62
    /**
63
     * Sets query instance with delete operation and table

Moss/Storage/Query/UpdateQuery.php 1 location

@@ 47-54 (lines=8) @@
44
     * @param AccessorInterface        $accessor
45
     * @param EventDispatcherInterface $dispatcher
46
     */
47
    public function __construct(Connection $connection, $entity, ModelInterface $model, RelationFactoryInterface $factory, AccessorInterface $accessor, EventDispatcherInterface $dispatcher)
48
    {
49
        parent::__construct($connection, $entity, $model, $factory, $accessor, $dispatcher);
50
51
        $this->setQuery();
52
        $this->values();
53
        $this->setPrimaryKeyConditions();
54
    }
55
56
    /**
57
     * Sets query instance with delete operation and table