Code Duplication    Length = 3-3 lines in 2 locations

library/Requests/Transport/cURL.php 1 location

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

library/Requests/Transport/fsockopen.php 1 location

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