Code Duplication    Length = 8-9 lines in 2 locations

src/Mathielen/ImportEngine/Storage/ArrayStorage.php 1 location

@@ 44-51 (lines=8) @@
41
     * (non-PHPdoc)
42
     * @see \Mathielen\ImportEngine\Source\SourceInterface::info()
43
     */
44
    public function info()
45
    {
46
        return new StorageInfo(array(
47
            'name' => 'Array Storage',
48
            'format' => 'Array Storage',
49
            'count' => count($this->reader())
50
        ));
51
    }
52
53
}
54

src/Mathielen/ImportEngine/Storage/ServiceStorage.php 1 location

@@ 83-91 (lines=9) @@
80
    /*
81
     * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::info()
82
     */
83
    public function info()
84
    {
85
        return new StorageInfo(array(
86
            'name' => $this->callable.'',
87
            'format' => 'Service method',
88
            'size' => 0,
89
            'count' => count($this->reader())
90
        ));
91
    }
92
93
    /*
94
     * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::getFields()