Skip to content

Commit

Permalink
Removed the low version conditions of php and swoole (#6489)
Browse files Browse the repository at this point in the history
  • Loading branch information
guandeng committed Jan 22, 2024
1 parent 3b5906f commit ce4cbf1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/GrpcClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,6 @@ public function openStream(
$request->headers = $request->headers + $metadata;
$request->pipeline = true;
if ($usePipelineRead) {
// @phpstan-ignore-next-line
if (SWOOLE_VERSION_ID < 40503) {
throw new InvalidArgumentException('Require Swoole version >= 4.5.3');
}
$request->usePipelineRead = true;
}

Expand Down

0 comments on commit ce4cbf1

Please sign in to comment.