Code Duplication    Length = 10-10 lines in 2 locations

src/firebaseLib.php 2 locations

@@ 180-189 (lines=10) @@
177
     *
178
     * @return array Response
179
     */
180
    public function get($path, $options = array())
181
    {
182
        try {
183
            $ch = $this->_getCurlHandler($path, 'GET', $options);
184
            $return = $this->_my_curl_exec($ch);
185
        } catch (Exception $e) {
186
            $return = null;
187
        }
188
        return $return;
189
    }
190
191
    /**
192
     * Deletes data from Firebase
@@ 200-209 (lines=10) @@
197
     *
198
     * @return array Response
199
     */
200
    public function delete($path, $options = array())
201
    {
202
        try {
203
            $ch = $this->_getCurlHandler($path, 'DELETE', $options);
204
            $return = $this->_my_curl_exec($ch);
205
        } catch (Exception $e) {
206
            $return = null;
207
        }
208
        return $return;
209
    }
210
211
    /**
212
     * Returns with Initialized CURL Handler