Code Duplication    Length = 3-3 lines in 2 locations

library/Requests/Transport/cURL.php 1 location

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

library/Requests/Transport/fsockopen.php 1 location

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