Code Duplication    Length = 3-3 lines in 2 locations

library/Requests/Transport/cURL.php 1 location

@@ 265-267 (lines=3) @@
262
				curl_multi_remove_handle($multihandle, $done['handle']);
263
				curl_close($done['handle']);
264
265
				if (!is_string($responses[$key])) {
266
					$options['hooks']->dispatch('multiple.request.complete', array(&$responses[$key], $key));
267
				}
268
				$completed++;
269
			}
270
		}

library/Requests/Transport/fsockopen.php 1 location

@@ 323-325 (lines=3) @@
320
				$responses[$id] = $e;
321
			}
322
323
			if (!is_string($responses[$id])) {
324
				$request['options']['hooks']->dispatch('multiple.request.complete', array(&$responses[$id], $id));
325
			}
326
		}
327
328
		return $responses;