@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use mpyw\Co\Internal\CoOption; |
| 6 | 6 | use mpyw\Co\Internal\GeneratorContainer; |
| 7 | 7 | use mpyw\Co\Internal\CURLPool; |
| 8 | - |
|
| 9 | 8 | use React\Promise\Deferred; |
| 10 | 9 | use React\Promise\PromiseInterface; |
| 11 | 10 | use function React\Promise\all; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | require __DIR__ . '/../vendor/autoload.php'; |
| 4 | 4 | |
| 5 | 5 | use mpyw\Co\Co; |
| 6 | -use mpyw\Co\CURLException; |
|
| 7 | 6 | |
| 8 | 7 | function curl_init_with($url, array $options = [CURLOPT_RETURNTRANSFER => true]) { |
| 9 | 8 | $ch = curl_init($url); |
@@ -53,7 +53,6 @@ |
||
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * Do somthing with consumed handle. |
| 56 | - * @param array $entry |
|
| 57 | 56 | */ |
| 58 | 57 | abstract protected function interruptConsume(); |
| 59 | 58 | |
@@ -53,7 +53,6 @@ |
||
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * Do nothing. |
| 56 | - * @param array $entry |
|
| 57 | 56 | */ |
| 58 | 57 | protected function interruptConsume() {} |
| 59 | 58 | } |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | require __DIR__ . '/../vendor/autoload.php'; |
| 4 | 4 | |
| 5 | 5 | use mpyw\Co\Co; |
| 6 | -use mpyw\Co\CURLException; |
|
| 7 | 6 | |
| 8 | 7 | function curl_init_with($url, array $options = [CURLOPT_RETURNTRANSFER => true]) { |
| 9 | 8 | $ch = curl_init($url); |