Code Duplication    Length = 8-15 lines in 2 locations

src/Persister/Event/OnExceptionEvent.php 1 location

@@ 40-54 (lines=15) @@
37
     */
38
    private $ignore;
39
40
    public function __construct(
41
        PagerInterface $pager, 
42
        ObjectPersisterInterface $objectPersister, 
43
        \Exception $exception, 
44
        array $objects, 
45
        array $options
46
    ) {
47
        $this->pager = $pager;
48
        $this->objectPersister = $objectPersister;
49
        $this->exception = $exception;
50
        $this->options = $options;
51
52
        $this->ignore = false;
53
        $this->objects = $objects;
54
    }
55
56
    /**
57
     * @return PagerInterface

src/Persister/Event/PostAsyncInsertObjectsEvent.php 1 location

@@ 35-42 (lines=8) @@
32
     */
33
    private $options;
34
35
    public function __construct(PagerInterface $pager, ObjectPersisterInterface $objectPersister, $objectsCount, $errorMessage, array $options)
36
    {
37
        $this->pager = $pager;
38
        $this->objectPersister = $objectPersister;
39
        $this->objectsCount = $objectsCount;
40
        $this->errorMessage = $errorMessage;
41
        $this->options = $options;
42
    }
43
44
    /**
45
     * @return PagerInterface