Code Duplication    Length = 7-8 lines in 2 locations

src/Handlers/XmlHandler.php 2 locations

@@ 180-187 (lines=8) @@
177
     * @return XmlHandler
178
     * @throws \Exception
179
     */
180
    private function arrayMany()
181
    {
182
            foreach ($this->response->children( $this->namespaces['NamespaceAtom'] )->entry as $item ) {
183
                $this->validText[] =   $item->content->children( $this->namespaces['NamespaceMetadata'] )
184
                    ->children($this->namespaces['NamespaceDataServices']);
185
            }
186
            return $this;
187
    }
188
    /**
189
     *  Get one Element
190
     * @return mixed
@@ 192-198 (lines=7) @@
189
     *  Get one Element
190
     * @return mixed
191
     */
192
    private function arrayOne()
193
    {
194
        $this->validText = $this->response->children( $this->namespaces['NamespaceAtom'] )->content
195
            ->children( $this->namespaces['NamespaceMetadata'] )
196
            ->children( $this->namespaces['NamespaceDataServices'] );
197
        return $this;
198
    }
199
200
201
    /**